File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,17 @@ config SOC_EARLY_RESET_HOOK
29
29
Additional constraints may be imposed on the hook by the architecture.
30
30
31
31
config SOC_RESET_HOOK
32
- bool "Run early SoC reset hook"
32
+ bool "Run SoC-specific reset hook"
33
33
help
34
- Run an early SoC reset hook .
34
+ Run a SoC-specific hook in the reset/startup code (__start) .
35
35
36
- A custom hook soc_reset_hook() is executed at the beginning of the
37
- startup code (__start). soc_reset_hook() must be implemented by the SoC.
36
+ A custom hook soc_reset_hook() will be executed near the beginning
37
+ of the architecture-specific startup code, after hardware has been
38
+ configured (as required by CONFIG_INIT_ARCH_HW_AT_BOOT), a stack
39
+ pointer has been loaded and the architecture's own resume logic
40
+ has executed (if CONFIG_PM_S2RAM is enabled). Because this hook
41
+ runs after the resume logic, it is not called when the system
42
+ resumes from a suspend-to-RAM power state.
38
43
39
44
config SOC_PREP_HOOK
40
45
bool "Run early SoC preparation hook"
You can’t perform that action at this time.
0 commit comments