summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/cpu/Makefile
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-09 19:42:44 +0100
committerSimon Glass <sjg@chromium.org>2020-12-22 20:39:25 -0700
commit3286d223fd715a79accfc66039f3f6f52e9a8896 (patch)
treef097bac29c0e4024cb18deeaf08dd91006fa7157 /arch/sandbox/cpu/Makefile
parentc589132a1de0c24dd247dbeb31e387f3b945bcfb (diff)
downloadu-boot-3286d223fd715a79accfc66039f3f6f52e9a8896.tar.gz
u-boot-3286d223fd715a79accfc66039f3f6f52e9a8896.tar.xz
u-boot-3286d223fd715a79accfc66039f3f6f52e9a8896.zip
sandbox: implement invalidate_icache_all()
Before executing code that we have loaded from a file we need to flush the data cache and invalidate the instruction flash. Implement functions flush_cache() and invalidate_icache_all(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/cpu/Makefile')
-rw-r--r--arch/sandbox/cpu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/Makefile b/arch/sandbox/cpu/Makefile
index bac96447d5..de7fe7f391 100644
--- a/arch/sandbox/cpu/Makefile
+++ b/arch/sandbox/cpu/Makefile
@@ -5,7 +5,7 @@
# (C) Copyright 2000-2003
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-obj-y := cpu.o state.o
+obj-y := cache.o cpu.o state.o
extra-y := start.o os.o
extra-$(CONFIG_SANDBOX_SDL) += sdl.o
obj-$(CONFIG_SPL_BUILD) += spl.o