提交 df8089e7 编写于 作者: V Vladimir Murzin 提交者: 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: NSzemző András <sza@esh.hu>
Tested-by: NAlexandre TORGUE <alexandre.torgue@st.com>
Tested-by: NBenjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: NVladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
上级 a0995c08
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册