summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/ec.lds.S4
-rw-r--r--core/cortex-m0/ec.lds.S4
-rw-r--r--core/host/host_exe.lds4
-rw-r--r--core/minute-ia/ec.lds.S4
-rw-r--r--core/nds32/ec.lds.S4
-rw-r--r--core/riscv-rv32i/ec.lds.S4
6 files changed, 24 insertions, 0 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index 9a23a419f6..85bc9ea5cb 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -261,6 +261,10 @@ SECTIONS
KEEP(*(.rodata.HOOK_CHIPSET_SHUTDOWN_COMPLETE))
__hooks_chipset_shutdown_complete_end = .;
+ __hooks_chipset_hard_off = .;
+ KEEP(*(.rodata.HOOK_CHIPSET_HARD_OFF))
+ __hooks_chipset_hard_off_end = .;
+
__hooks_chipset_reset = .;
KEEP(*(.rodata.HOOK_CHIPSET_RESET))
__hooks_chipset_reset_end = .;
diff --git a/core/cortex-m0/ec.lds.S b/core/cortex-m0/ec.lds.S
index 1241638361..f6023aa322 100644
--- a/core/cortex-m0/ec.lds.S
+++ b/core/cortex-m0/ec.lds.S
@@ -135,6 +135,10 @@ SECTIONS
KEEP(*(.rodata.HOOK_CHIPSET_SHUTDOWN_COMPLETE))
__hooks_chipset_shutdown_complete_end = .;
+ __hooks_chipset_hard_off = .;
+ KEEP(*(.rodata.HOOK_CHIPSET_HARD_OFF))
+ __hooks_chipset_hard_off_end = .;
+
__hooks_chipset_reset = .;
KEEP(*(.rodata.HOOK_CHIPSET_RESET))
__hooks_chipset_reset_end = .;
diff --git a/core/host/host_exe.lds b/core/host/host_exe.lds
index fbf7b56351..ab8d352ecc 100644
--- a/core/host/host_exe.lds
+++ b/core/host/host_exe.lds
@@ -65,6 +65,10 @@ SECTIONS {
*(.rodata.HOOK_CHIPSET_SHUTDOWN_COMPLETE)
__hooks_chipset_shutdown_complete_end = .;
+ __hooks_chipset_hard_off = .;
+ KEEP(*(.rodata.HOOK_CHIPSET_HARD_OFF))
+ __hooks_chipset_hard_off_end = .;
+
__hooks_chipset_reset = .;
*(.rodata.HOOK_CHIPSET_RESET)
__hooks_chipset_reset_end = .;
diff --git a/core/minute-ia/ec.lds.S b/core/minute-ia/ec.lds.S
index 2463c6d397..dc61699fed 100644
--- a/core/minute-ia/ec.lds.S
+++ b/core/minute-ia/ec.lds.S
@@ -102,6 +102,10 @@ SECTIONS
KEEP(*(.rodata.HOOK_CHIPSET_SHUTDOWN_COMPLETE))
__hooks_chipset_shutdown_complete_end = .;
+ __hooks_chipset_hard_off = .;
+ KEEP(*(.rodata.HOOK_CHIPSET_HARD_OFF))
+ __hooks_chipset_hard_off_end = .;
+
__hooks_chipset_reset = .;
KEEP(*(.rodata.HOOK_CHIPSET_RESET))
__hooks_chipset_reset_end = .;
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S
index 1d35041fea..c10e3e82f7 100644
--- a/core/nds32/ec.lds.S
+++ b/core/nds32/ec.lds.S
@@ -131,6 +131,10 @@ SECTIONS
KEEP(*(.rodata.HOOK_CHIPSET_SHUTDOWN_COMPLETE))
__hooks_chipset_shutdown_complete_end = .;
+ __hooks_chipset_hard_off = .;
+ KEEP(*(.rodata.HOOK_CHIPSET_HARD_OFF))
+ __hooks_chipset_hard_off_end = .;
+
__hooks_chipset_reset = .;
KEEP(*(.rodata.HOOK_CHIPSET_RESET))
__hooks_chipset_reset_end = .;
diff --git a/core/riscv-rv32i/ec.lds.S b/core/riscv-rv32i/ec.lds.S
index d2bb3ba353..109fe7c579 100644
--- a/core/riscv-rv32i/ec.lds.S
+++ b/core/riscv-rv32i/ec.lds.S
@@ -178,6 +178,10 @@ SECTIONS
KEEP(*(.rodata.HOOK_CHIPSET_SHUTDOWN_COMPLETE))
__hooks_chipset_shutdown_complete_end = .;
+ __hooks_chipset_hard_off = .;
+ KEEP(*(.rodata.HOOK_CHIPSET_HARD_OFF))
+ __hooks_chipset_hard_off_end = .;
+
__hooks_chipset_reset = .;
KEEP(*(.rodata.HOOK_CHIPSET_RESET))
__hooks_chipset_reset_end = .;