diff options
author | Heinrich Schuchardt | 2020-12-09 19:42:44 +0100 |
---|---|---|
committer | Simon Glass | 2020-12-22 20:39:25 -0700 |
commit | 3286d223fd715a79accfc66039f3f6f52e9a8896 (patch) | |
tree | f097bac29c0e4024cb18deeaf08dd91006fa7157 /board | |
parent | c589132a1de0c24dd247dbeb31e387f3b945bcfb (diff) |
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 'board')
-rw-r--r-- | board/sandbox/sandbox.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/board/sandbox/sandbox.c b/board/sandbox/sandbox.c index 18a605de026..3235541a7d5 100644 --- a/board/sandbox/sandbox.c +++ b/board/sandbox/sandbox.c @@ -28,10 +28,6 @@ U_BOOT_DEVICE(gpio_sandbox) = { }; #endif -void flush_cache(unsigned long start, unsigned long size) -{ -} - #ifndef CONFIG_TIMER /* system timer offset in ms */ static unsigned long sandbox_timer_offset; |