From: Vladimir Murzin Date: Mon, 16 Oct 2017 11:55:06 +0000 (+0100) Subject: ARM: 8709/1: NOMMU: Disallow MPU for XIP X-Git-Tag: v4.15-rc1~80^2^2~5 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=df8089e7f343e3a6744df9d05f3e4c225deddadb;p=linux.git ARM: 8709/1: NOMMU: Disallow MPU for XIP It seems that MPU never worked with XIP, so we just disallow such combination. Tested-by: Szemző András Tested-by: Alexandre TORGUE Tested-by: Benjamin Gaignard Signed-off-by: Vladimir Murzin Signed-off-by: Russell King --- diff --git a/arch/arm/Kconfig-nommu b/arch/arm/Kconfig-nommu index b7576349528c..6d18395da24d 100644 --- a/arch/arm/Kconfig-nommu +++ b/arch/arm/Kconfig-nommu @@ -52,7 +52,7 @@ config REMAP_VECTORS_TO_RAM config ARM_MPU bool 'Use the ARM v7 PMSA Compliant MPU' - depends on CPU_V7 + depends on !XIP_KERNEL && CPU_V7 default y help Some ARM systems without an MMU have instead a Memory Protection