ARM: 8711/1: V7M: Add support for MPU to M-class
[sfrench/cifs-2.6.git] / arch / arm / include / asm / v7m.h
index 1fd775c1bc5deb3425c6c7c72478b6efeff21b54..5de776c813826e1a9191aac9c5b67ce17a6d3e9a 100644 (file)
 #define        V7M_SCB_CCSIDR          0x80    /* Cache size ID register */
 #define        V7M_SCB_CSSELR          0x84    /* Cache size selection register */
 
+/* Memory-mapped MPU registers for M-class */
+#define MPU_TYPE               0x90
+#define MPU_CTRL               0x94
+#define MPU_CTRL_ENABLE                1
+#define MPU_CTRL_PRIVDEFENA    (1 << 2)
+
+#define MPU_RNR                        0x98
+#define MPU_RBAR               0x9c
+#define MPU_RASR               0xa0
+
 /* Cache opeartions */
 #define        V7M_SCB_ICIALLU         0x250   /* I-cache invalidate all to PoU */
 #define        V7M_SCB_ICIMVAU         0x258   /* I-cache invalidate by MVA to PoU */