Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de829776 authored by Jonathan Austin's avatar Jonathan Austin
Browse files

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: default avatarJonathan Austin <jonathan.austin@arm.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent 9dfc28b6
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -53,6 +53,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
       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