aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/mpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/mpu.h')
-rw-r--r--arch/arm/include/asm/mpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mpu.h b/arch/arm/include/asm/mpu.h
index 5db37a6ef3cb..56ec02617f58 100644
--- a/arch/arm/include/asm/mpu.h
+++ b/arch/arm/include/asm/mpu.h
@@ -41,6 +41,7 @@
41#endif 41#endif
42 42
43/* Access permission bits of ACR (only define those that we use)*/ 43/* Access permission bits of ACR (only define those that we use)*/
44#define MPU_AP_PL1RO_PL0NA (0x5 << 8)
44#define MPU_AP_PL1RW_PL0RW (0x3 << 8) 45#define MPU_AP_PL1RW_PL0RW (0x3 << 8)
45#define MPU_AP_PL1RW_PL0R0 (0x2 << 8) 46#define MPU_AP_PL1RW_PL0R0 (0x2 << 8)
46#define MPU_AP_PL1RW_PL0NA (0x1 << 8) 47#define MPU_AP_PL1RW_PL0NA (0x1 << 8)
@@ -49,7 +50,7 @@
49#define MPU_PROBE_REGION 0 50#define MPU_PROBE_REGION 0
50#define MPU_BG_REGION 1 51#define MPU_BG_REGION 1
51#define MPU_RAM_REGION 2 52#define MPU_RAM_REGION 2
52#define MPU_VECTORS_REGION 3 53#define MPU_ROM_REGION 3
53 54
54/* Maximum number of regions Linux is interested in */ 55/* Maximum number of regions Linux is interested in */
55#define MPU_MAX_REGIONS 16 56#define MPU_MAX_REGIONS 16