Commit df8089e7 authored by Vladimir Murzin's avatar Vladimir Murzin Committed by Russell King

ARM: 8709/1: NOMMU: Disallow MPU for XIP

It seems that MPU never worked with XIP, so we just disallow such
combination.
Tested-by: default avatarSzemző András <sza@esh.hu>
Tested-by: default avatarAlexandre TORGUE <alexandre.torgue@st.com>
Tested-by: default avatarBenjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: default avatarVladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
parent a0995c08
...@@ -52,7 +52,7 @@ config REMAP_VECTORS_TO_RAM ...@@ -52,7 +52,7 @@ config REMAP_VECTORS_TO_RAM
config ARM_MPU config ARM_MPU
bool 'Use the ARM v7 PMSA Compliant MPU' bool 'Use the ARM v7 PMSA Compliant MPU'
depends on CPU_V7 depends on !XIP_KERNEL && CPU_V7
default y default y
help help
Some ARM systems without an MMU have instead a Memory Protection Some ARM systems without an MMU have instead a Memory Protection
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment