On Wed, 9 Dec 2020 at 11:42, Heinrich Schuchardt <[email protected]> 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 <[email protected]>
> ---
>  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 <[email protected]>

Reply via email to