]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/armv8/cache_v8.c
Merge branch 'fpga' of git://www.denx.de/git/u-boot-microblaze
[u-boot] / arch / arm / cpu / armv8 / cache_v8.c
index 7acae1b0aca55639f3271fa46f445816e2951b87..a96ecda7e3146996d20a2e46b975dced2769255c 100644 (file)
@@ -80,7 +80,7 @@ static void mmu_setup(void)
  */
 void invalidate_dcache_all(void)
 {
-       __asm_flush_dcache_all();
+       __asm_invalidate_dcache_all();
 }
 
 /*
@@ -177,6 +177,7 @@ int dcache_status(void)
 
 void icache_enable(void)
 {
+       __asm_invalidate_icache_all();
        set_sctlr(get_sctlr() | CR_I);
 }