diff --git a/arch/arm/src/armv8-m/mpu.h b/arch/arm/src/armv8-m/mpu.h index 3feb412492..b6bf1e95d7 100644 --- a/arch/arm/src/armv8-m/mpu.h +++ b/arch/arm/src/armv8-m/mpu.h @@ -59,9 +59,9 @@ #define MPU_RBAR_A3_OFFSET 0x0024 #define MPU_RLAR_A3_OFFSET 0x0028 -#define MPU_MAIR_OFFSET(n) (0x0040 + 4 * ((n) >> 2)) -#define MPU_MAIR0_OFFSET 0x0040 /* MPU Memory Attribute Indirection Register 0 */ -#define MPU_MAIR1_OFFSET 0x0044 /* MPU Memory Attribute Indirection Register 1 */ +#define MPU_MAIR_OFFSET(n) (0x0030 + 4 * ((n) >> 2)) +#define MPU_MAIR0_OFFSET 0x0030 /* MPU Memory Attribute Indirection Register 0 */ +#define MPU_MAIR1_OFFSET 0x0034 /* MPU Memory Attribute Indirection Register 1 */ /* MPU Register Addresses */