X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Friscv%2Fcpu%2Fax25%2Fcpu.c;h=76689b21d3d94c10350dc287361fd5b6fd5e7419;hb=9450ab2ba8d720bd9f73bccc0af2e2b5a2c2aaf1;hp=fddcc156c3dce4f75ec154307ea4ce352710161c;hpb=1b484736ce47cb220cb523f00ebe77025cab219f;p=platform%2Fkernel%2Fu-boot.git diff --git a/arch/riscv/cpu/ax25/cpu.c b/arch/riscv/cpu/ax25/cpu.c index fddcc15..76689b2 100644 --- a/arch/riscv/cpu/ax25/cpu.c +++ b/arch/riscv/cpu/ax25/cpu.c @@ -6,6 +6,7 @@ /* CPU specific code */ #include +#include /* * cleanup_before_linux() is called just before we call linux @@ -18,6 +19,9 @@ int cleanup_before_linux(void) disable_interrupts(); /* turn off I/D-cache */ + cache_flush(); + icache_disable(); + dcache_disable(); return 0; }