|
@@ -259,7 +259,7 @@ static inline void set_dacr(unsigned int val)
|
|
isb();
|
|
isb();
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_ARMV7
|
|
|
|
|
|
+#ifdef CONFIG_CPU_V7
|
|
/* Short-Descriptor Translation Table Level 1 Bits */
|
|
/* Short-Descriptor Translation Table Level 1 Bits */
|
|
#define TTB_SECT_NS_MASK (1 << 19)
|
|
#define TTB_SECT_NS_MASK (1 << 19)
|
|
#define TTB_SECT_NG_MASK (1 << 17)
|
|
#define TTB_SECT_NG_MASK (1 << 17)
|
|
@@ -296,7 +296,7 @@ enum {
|
|
MMU_SECTION_SIZE = 1 << MMU_SECTION_SHIFT,
|
|
MMU_SECTION_SIZE = 1 << MMU_SECTION_SHIFT,
|
|
};
|
|
};
|
|
|
|
|
|
-#ifdef CONFIG_ARMV7
|
|
|
|
|
|
+#ifdef CONFIG_CPU_V7
|
|
/* TTBR0 bits */
|
|
/* TTBR0 bits */
|
|
#define TTBR0_BASE_ADDR_MASK 0xFFFFC000
|
|
#define TTBR0_BASE_ADDR_MASK 0xFFFFC000
|
|
#define TTBR0_RGN_NC (0 << 3)
|
|
#define TTBR0_RGN_NC (0 << 3)
|