projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4098d20
)
armv7m: correct mpu region size define for 8MB size
author
Vikas Manocha
<vikas.manocha@st.com>
Wed, 3 May 2017 23:38:54 +0000
(16:38 -0700)
committer
Tom Rini
<trini@konsulko.com>
Fri, 12 May 2017 12:37:05 +0000
(08:37 -0400)
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
arch/arm/include/asm/armv7m.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/armv7m.h
b/arch/arm/include/asm/armv7m.h
index
ebf0f17
..
9a6224f
100644
(file)
--- 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