summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/armv8
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-06-25 02:46:20 +0300
committerYork Sun <york.sun@nxp.com>2016-07-15 19:01:43 +0300
commit252cdb46ee33ff876823d0ce0a0190c3878c76ff (patch)
tree967fe80a33fe9024799bc6cc65256a4bce6e3729 /arch/arm/include/asm/armv8
parent50e93b95653da44b9743357dfa3701e8482fd167 (diff)
downloadu-boot-252cdb46ee33ff876823d0ce0a0190c3878c76ff.tar.xz
armv8: mmu: house cleaning
Make setup_pgtages() and get_tcr() available for platform code to customize MMU tables. Remove unintentional call of create_table(). Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/armv8')
-rw-r--r--arch/arm/include/asm/armv8/mmu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h
index 0d08ed3ba8..b7b47068a3 100644
--- a/arch/arm/include/asm/armv8/mmu.h
+++ b/arch/arm/include/asm/armv8/mmu.h
@@ -141,6 +141,8 @@ struct mm_region {
};
extern struct mm_region *mem_map;
+void setup_pgtables(void);
+u64 get_tcr(int el, u64 *pips, u64 *pva_bits);
#endif
#endif /* _ASM_ARMV8_MMU_H_ */