summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/system.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-03-04 01:09:54 +0100
committerTom Rini <trini@konsulko.com>2016-03-15 15:13:10 -0400
commit7985cdf74b280f86a1c7440298a84f1fb2876fd9 (patch)
treebf567412991af90c220b90b59051d97bd5819c6d /arch/arm/include/asm/system.h
parent21845825608af7fbc5513e4fbf812426df437302 (diff)
downloadtalos-obmc-uboot-7985cdf74b280f86a1c7440298a84f1fb2876fd9.tar.gz
talos-obmc-uboot-7985cdf74b280f86a1c7440298a84f1fb2876fd9.zip
arm64: Remove non-full-va map code
By now the code to only have a single page table level with 64k page size and 42 bit address space is no longer used by any board in tree, so we can safely remove it. To clean up code, move the layerscape mmu code to the new defines, removing redundant field definitions. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/arm/include/asm/system.h')
-rw-r--r--arch/arm/include/asm/system.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h
index 9b1cbf2c43..ac1173d189 100644
--- a/arch/arm/include/asm/system.h
+++ b/arch/arm/include/asm/system.h
@@ -17,18 +17,14 @@
#define CR_WXN (1 << 19) /* Write Permision Imply XN */
#define CR_EE (1 << 25) /* Exception (Big) Endian */
-/* 2MB granularity */
-#define MMU_SECTION_SHIFT 21
-#define MMU_SECTION_SIZE (1 << MMU_SECTION_SHIFT)
-
#ifndef __ASSEMBLY__
-#ifndef CONFIG_SYS_FULL_VA
-#define PGTABLE_SIZE (0x10000)
-#else
u64 get_page_table_size(void);
#define PGTABLE_SIZE get_page_table_size()
-#endif
+
+/* 2MB granularity */
+#define MMU_SECTION_SHIFT 21
+#define MMU_SECTION_SIZE (1 << MMU_SECTION_SHIFT)
enum dcache_option {
DCACHE_OFF = 0x3,
OpenPOWER on IntegriCloud