summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/cpu/cpu.c4
-rw-r--r--arch/sh/cpu/u-boot.lds4
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c
index eefed2ebd9..01991049cc 100644
--- a/arch/sandbox/cpu/cpu.c
+++ b/arch/sandbox/cpu/cpu.c
@@ -100,6 +100,10 @@ void flush_dcache_range(unsigned long start, unsigned long stop)
{
}
+void invalidate_dcache_range(unsigned long start, unsigned long stop)
+{
+}
+
int sandbox_read_fdt_from_file(void)
{
struct sandbox_state *state = state_get_current();
diff --git a/arch/sh/cpu/u-boot.lds b/arch/sh/cpu/u-boot.lds
index 2f2bdb5b83..db5b14c554 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