summaryrefslogtreecommitdiff
path: root/core/riscv-rv32i/ec.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'core/riscv-rv32i/ec.lds.S')
-rw-r--r--core/riscv-rv32i/ec.lds.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/riscv-rv32i/ec.lds.S b/core/riscv-rv32i/ec.lds.S
index e8963c1b14..80d1208a69 100644
--- a/core/riscv-rv32i/ec.lds.S
+++ b/core/riscv-rv32i/ec.lds.S
@@ -254,7 +254,7 @@ SECTIONS
. = ALIGN(4);
*(.srodata*)
-#if defined(SECTION_IS_RO) && defined(CONFIG_FLASH_CROS)
+#if defined(SECTION_IS_RO) && defined(CONFIG_FLASH)
. = ALIGN(64);
KEEP(*(.google))
#endif
@@ -360,7 +360,7 @@ SECTIONS
#endif
__image_size = __flash_used;
-#ifdef CONFIG_FLASH_CROS
+#ifdef CONFIG_FLASH
/*
* These linker labels are just for analysis and not used in the code.
*/
@@ -450,7 +450,7 @@ SECTIONS
} > DRAM
#endif /* CONFIG_DRAM_BASE */
-#if !(defined(SECTION_IS_RO) && defined(CONFIG_FLASH_CROS))
+#if !(defined(SECTION_IS_RO) && defined(CONFIG_FLASH))
/DISCARD/ : { *(.google) }
#endif