ARM: 8711/1: V7M: Add support for MPU to M-class
[sfrench/cifs-2.6.git] / arch / arm / Kconfig-nommu
index b7576349528c12a8ef7533b6b66bc9a68b8dc9f9..930e000489a81fea009dbbdb4add7f63b1dea0a5 100644 (file)
@@ -52,8 +52,8 @@ config REMAP_VECTORS_TO_RAM
 
 config ARM_MPU
        bool 'Use the ARM v7 PMSA Compliant MPU'
-       depends on CPU_V7
-       default y
+       depends on !XIP_KERNEL && (CPU_V7 || CPU_V7M)
+       default y if CPU_V7
        help
          Some ARM systems without an MMU have instead a Memory Protection
          Unit (MPU) that defines the type and permissions for regions of