summaryrefslogtreecommitdiff
path: root/core/minute-ia
diff options
context:
space:
mode:
Diffstat (limited to 'core/minute-ia')
-rw-r--r--core/minute-ia/ec.lds.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/minute-ia/ec.lds.S b/core/minute-ia/ec.lds.S
index 5b814abe42..2463c6d397 100644
--- a/core/minute-ia/ec.lds.S
+++ b/core/minute-ia/ec.lds.S
@@ -158,6 +158,19 @@ SECTIONS
. = ALIGN(4);
KEEP(*(.rodata.*))
+
+#ifdef CONFIG_CHIP_INIT_ROM_REGION
+ ASSERT(0, "CONFIG_CHIP_INIT_ROM_REGION not supported by linker script")
+#endif /* CONFIG_CHIP_INIT_ROM_REGION */
+ /*
+ * This linker file does not yet support a separate ROM resident
+ * section. Ensure the corresponding data objects are linked
+ * into the .rodata section.
+ */
+ . = ALIGN(4);
+ __init_rom_start = .;
+ *(.init.rom)
+ __init_rom_end = .;
}
/*