[PATCH 1/1] sandbox: implement invalidate_icache_all()

Simon Glass sjg at chromium.org
Sat Dec 12 16:39:51 CET 2020


On Wed, 9 Dec 2020 at 11:42, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> 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 at gmx.de>
> ---
>  arch/sandbox/cpu/Makefile |  2 +-
>  arch/sandbox/cpu/cache.c  | 23 +++++++++++++++++++++++
>  board/sandbox/sandbox.c   |  4 ----
>  3 files changed, 24 insertions(+), 5 deletions(-)
>  create mode 100644 arch/sandbox/cpu/cache.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list