Merge branch 'master' of http://git.denx.de/u-boot-sparc
[oweals/u-boot.git] / arch / arm / include / asm / armv8 / mmu.h
index a1c3c065399b3636067f6c8e9ccb03a027e1b382..2e2a3a8226d9a6c37fd3336f907e43a26e5d39aa 100644 (file)
@@ -65,6 +65,7 @@
 /*
  * Section
  */
+#define PMD_SECT_NS            (1 << 5)
 #define PMD_SECT_NON_SHARE     (0 << 8)
 #define PMD_SECT_OUTER_SHARE   (2 << 8)
 #define PMD_SECT_INNER_SHARE   (3 << 8)
                                TCR_IRGN_WBWA |         \
                                TCR_T0SZ(VA_BITS))
 
+#define TCR_EL1_RSVD           (1 << 31)
+#define TCR_EL2_RSVD           (1 << 31 | 1 << 23)
+#define TCR_EL3_RSVD           (1 << 31 | 1 << 23)
+
 #ifndef __ASSEMBLY__
 
 void set_pgtable_section(u64 *page_table, u64 index,
                         u64 section, u64 memory_type,
-                        u64 share);
+                        u64 attribute);
 void set_pgtable_table(u64 *page_table, u64 index,
                       u64 *table_addr);