From b833aa113634b2a1404b65839ffc75471a5440d8 Mon Sep 17 00:00:00 2001 From: Andrei Gansari Date: Mon, 11 Nov 2019 11:58:25 +0200 Subject: [PATCH] soc: lpc55xxx mpu areas defined from dts Number of MPU regions obtained from MPU. Signed-off-by: Andrei Gansari --- soc/arm/nxp_lpc/lpc55xxx/dts_fixup.h | 1 + 1 file changed, 1 insertion(+) diff --git a/soc/arm/nxp_lpc/lpc55xxx/dts_fixup.h b/soc/arm/nxp_lpc/lpc55xxx/dts_fixup.h index 1de4e10becb..2f118a5d40d 100644 --- a/soc/arm/nxp_lpc/lpc55xxx/dts_fixup.h +++ b/soc/arm/nxp_lpc/lpc55xxx/dts_fixup.h @@ -7,6 +7,7 @@ /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V8M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS +#define DT_NUM_MPU_REGIONS DT_INST_0_ARM_ARMV8M_MPU_ARM_NUM_MPU_REGIONS #define DT_FLASH_DEV_NAME DT_INST_0_NXP_LPC_IAP_LABEL