summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJonathan Austin <jonathan.austin@arm.com>2013-05-24 21:47:57 +0200
committerJonathan Austin <jonathan.austin@arm.com>2013-06-17 16:13:18 +0200
commitde8297765def67ec40b69522f3e405a61e0217b3 (patch)
tree150e9c4119985330e14f125e4c2d3474092a2e7f /arch/arm
parentARM: mpu: protect the vectors page with an MPU region (diff)
downloadlinux-de8297765def67ec40b69522f3e405a61e0217b3.tar.xz
linux-de8297765def67ec40b69522f3e405a61e0217b3.zip
ARM: mpu: Ensure that MPU depends on CPU_V7
The support for the MPU is currently implemented only for R-class (PMSAv7/R). Since the merge of V7M support in to the kernel it is possible to select MPU support on V7M. This patch ensures that until MPU support for M-class processors is implemented, the MPU can only be selected with R-class CPUs Signed-off-by: Jonathan Austin <jonathan.austin@arm.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig-nommu1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig-nommu b/arch/arm/Kconfig-nommu
index db597e1c7572..aed66d5df7f1 100644
--- a/arch/arm/Kconfig-nommu
+++ b/arch/arm/Kconfig-nommu
@@ -53,6 +53,7 @@ config REMAP_VECTORS_TO_RAM
config ARM_MPU
bool 'Use the ARM v7 PMSA Compliant MPU'
+ depends on CPU_V7
default y
help
Some ARM systems without an MMU have instead a Memory Protection