diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2017-10-16 12:55:06 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-10-23 16:59:06 +0100 |
commit | df8089e7f343e3a6744df9d05f3e4c225deddadb (patch) | |
tree | f6408ce613981d9f47c40af7edd62d3c6db3a424 /arch/arm/Kconfig-nommu | |
parent | a0995c0805b63c930b99970f2c9d5e4f167ca65b (diff) | |
download | linux-df8089e7f343e3a6744df9d05f3e4c225deddadb.tar.bz2 |
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 <sza@esh.hu>
Tested-by: Alexandre TORGUE <alexandre.torgue@st.com>
Tested-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig-nommu')
-rw-r--r-- | arch/arm/Kconfig-nommu | 2 |
1 files changed, 1 insertions, 1 deletions
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 |