From 612ebdeabd5d9d74b1c57e36ef2e0090d74ed8fd Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 8 Nov 2015 06:59:35 -0600 Subject: [PATCH] Kconfig: Set default number of MPU regions to 16 for Cortex-M7 --- arch/arm/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2ba434667d..dd6ce83af0 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -426,7 +426,8 @@ config ARMV7M_MPU config ARMV7M_MPU_NREGIONS int "Number of MPU regions" - default 8 + default 16 if ARCH_CORTEXM7 + default 8 if !ARCH_CORTEXM7 depends on ARMV7M_MPU ---help--- This is the number of protection regions supported by the MPU.