aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/sh/cpu/u-boot.lds4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/cpu/u-boot.lds b/arch/sh/cpu/u-boot.lds
index 2f2bdb5b83e..db5b14c5540 100644
--- a/arch/sh/cpu/u-boot.lds
+++ b/arch/sh/cpu/u-boot.lds
@@ -38,6 +38,10 @@ SECTIONS
KEEP(CONFIG_BOARDDIR/lowlevel_init.o (.text .spiboot1.text))
KEEP(*(.spiboot2.text))
. = ALIGN(8192);
+#ifdef CONFIG_ENV_IS_IN_FLASH
+ env/embedded.o (.doesnotexist)
+ . = ALIGN(8192);
+#endif
*(.text)
. = ALIGN(4);
} >ram =0xFF