diff options
Diffstat (limited to 'core/cortex-m0/ec.lds.S')
-rw-r--r-- | core/cortex-m0/ec.lds.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/cortex-m0/ec.lds.S b/core/cortex-m0/ec.lds.S index 8a3a75b272..ca2984bd0f 100644 --- a/core/cortex-m0/ec.lds.S +++ b/core/cortex-m0/ec.lds.S @@ -117,6 +117,16 @@ SECTIONS KEEP(*(.rodata.HOOK_CHIPSET_SUSPEND)) __hooks_chipset_suspend_end = .; +#ifdef CONFIG_CHIPSET_RESUME_INIT_HOOK + __hooks_chipset_resume_init = .; + KEEP(*(.rodata.HOOK_CHIPSET_RESUME_INIT)) + __hooks_chipset_resume_init_end = .; + + __hooks_chipset_suspend_complete = .; + KEEP(*(.rodata.HOOK_CHIPSET_SUSPEND_COMPLETE)) + __hooks_chipset_suspend_complete_end = .; +#endif + __hooks_chipset_shutdown = .; KEEP(*(.rodata.HOOK_CHIPSET_SHUTDOWN)) __hooks_chipset_shutdown_end = .; |