diff options
author | Vikas Manocha <vikas.manocha@st.com> | 2017-05-03 16:38:54 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-12 08:37:05 -0400 |
commit | df951c4039a1d54fdb3d9b4838c6e4fc8be53cd0 (patch) | |
tree | 8be60874ef44fbfcbf0b71bd1cd4c21fd4248086 /arch/arm/include | |
parent | 4098d2061ff57b731e195abe03a0b73ac69c8689 (diff) | |
download | u-boot-df951c4039a1d54fdb3d9b4838c6e4fc8be53cd0.tar.gz |
armv7m: correct mpu region size define for 8MB size
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/armv7m.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/armv7m.h b/arch/arm/include/asm/armv7m.h index ebf0f17042..9a6224f96e 100644 --- a/arch/arm/include/asm/armv7m.h +++ b/arch/arm/include/asm/armv7m.h @@ -80,7 +80,8 @@ struct v7m_mpu { #define V7M_MPU_RASR_EN (1 << 0) #define V7M_MPU_RASR_SIZE_BITS 1 #define V7M_MPU_RASR_SIZE_4GB (31 << V7M_MPU_RASR_SIZE_BITS) -#define V7M_MPU_RASR_SIZE_8MB (24 << V7M_MPU_RASR_SIZE_BITS) +#define V7M_MPU_RASR_SIZE_8MB (22 << V7M_MPU_RASR_SIZE_BITS) + #define V7M_MPU_RASR_TEX_SHIFT 19 #define V7M_MPU_RASR_S_SHIFT 18 #define V7M_MPU_RASR_C_SHIFT 17 |