]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: implement invalidate_icache_all()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 9 Dec 2020 18:42:44 +0000 (19:42 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 03:39:25 +0000 (20:39 -0700)
commita0612168e22f9e0190fe3b84793243693c2c019e
treef097bac29c0e4024cb18deeaf08dd91006fa7157
parent7caeaf07d4f4d86c1a586478995cd55528efbfea
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>
arch/sandbox/cpu/Makefile
arch/sandbox/cpu/cache.c [new file with mode: 0644]
board/sandbox/sandbox.c