summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/ec.lds.S10
-rw-r--r--core/cortex-m0/ec.lds.S10
-rw-r--r--core/minute-ia/ec.lds.S10
-rw-r--r--core/nds32/ec.lds.S10
-rw-r--r--core/riscv-rv32i/ec.lds.S10
5 files changed, 50 insertions, 0 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index 1e620dc54d..4b6bd04a48 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -188,6 +188,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 = .;
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 = .;
diff --git a/core/minute-ia/ec.lds.S b/core/minute-ia/ec.lds.S
index 37d2d8da49..5b814abe42 100644
--- a/core/minute-ia/ec.lds.S
+++ b/core/minute-ia/ec.lds.S
@@ -84,6 +84,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 = .;
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S
index 75c687655a..2ffb58d932 100644
--- a/core/nds32/ec.lds.S
+++ b/core/nds32/ec.lds.S
@@ -113,6 +113,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 = .;
diff --git a/core/riscv-rv32i/ec.lds.S b/core/riscv-rv32i/ec.lds.S
index 2741521f39..20ac8e0ab8 100644
--- a/core/riscv-rv32i/ec.lds.S
+++ b/core/riscv-rv32i/ec.lds.S
@@ -152,6 +152,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 = .;