diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c index 396018b7a7a..19a6e24f38b 100644 --- a/arch/arm/mach-k3/common.c +++ b/arch/arm/mach-k3/common.c @@ -279,7 +279,6 @@ void enable_caches(void) __func__, fdt_strerror(ret)); mmu_setup(); - mmu_enable(); if (CONFIG_K3_ATF_LOAD_ADDR >= CFG_SYS_SDRAM_BASE) { ret = mmu_unmap_reserved_mem("tfa", true); @@ -295,6 +294,7 @@ void enable_caches(void) __func__, ret); } + mmu_enable(); icache_enable(); dcache_enable(); }