]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mpu: Ensure that MPU depends on CPU_V7
authorJonathan Austin <jonathan.austin@arm.com>
Fri, 24 May 2013 19:47:57 +0000 (20:47 +0100)
committerJonathan Austin <jonathan.austin@arm.com>
Mon, 17 Jun 2013 14:13:18 +0000 (15:13 +0100)
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>
arch/arm/Kconfig-nommu

index db597e1c75720783729fe6cac33e9595383346d7..aed66d5df7f1546ac48cf93ee9c4f2aeb91d5b76 100644 (file)
@@ -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