summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-03-08 21:04:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-03-23 07:43:28 +0100
commit5fcc29680c804cd5ea84fe6a682f71e42c02ee97 (patch)
tree1cef4d03d0da0f7fe861d482cb4e438ab831d029
parentf707b5b3399afc94d7737990b34225a2f0edcc57 (diff)
downloadbarebox-5fcc29680c804cd5ea84fe6a682f71e42c02ee97.tar.gz
barebox-5fcc29680c804cd5ea84fe6a682f71e42c02ee97.tar.xz
ARM: aarch64: mmu: No need to disable icache
When the MMU is disabled there is no need to disable the icache. Leave it enabled. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/cpu/mmu_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/mmu_64.c b/arch/arm/cpu/mmu_64.c
index 7932185885..c8c3c9d84f 100644
--- a/arch/arm/cpu/mmu_64.c
+++ b/arch/arm/cpu/mmu_64.c
@@ -330,7 +330,7 @@ void mmu_disable(void)
arm_mmu_not_initialized_error();
cr = get_cr();
- cr &= ~(CR_M | CR_C | CR_I);
+ cr &= ~(CR_M | CR_C);
tlb_invalidate();