summaryrefslogtreecommitdiff
path: root/include/asm-ppc/mmu.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-12-16 14:59:20 -0600
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-12-19 18:20:08 -0600
commitecf5b98c7a6a2e2256dfddd48fab26678dcd6b90 (patch)
treeb5b14efe94ac15ab102d14cc9233b20d1213f994 /include/asm-ppc/mmu.h
parent78bbc5ce151c5a484bb51bf1866b4a993ffc16ec (diff)
downloadu-boot-imx-ecf5b98c7a6a2e2256dfddd48fab26678dcd6b90.zip
u-boot-imx-ecf5b98c7a6a2e2256dfddd48fab26678dcd6b90.tar.gz
u-boot-imx-ecf5b98c7a6a2e2256dfddd48fab26678dcd6b90.tar.bz2
85xx: Add support to populate addr map based on TLB settings
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/mmu.h')
-rw-r--r--include/asm-ppc/mmu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h
index 8975e6c..6d942d0 100644
--- a/include/asm-ppc/mmu.h
+++ b/include/asm-ppc/mmu.h
@@ -431,6 +431,9 @@ extern void set_tlb(u8 tlb, u32 epn, u64 rpn,
extern void disable_tlb(u8 esel);
extern void invalidate_tlb(u8 tlb);
extern void init_tlbs(void);
+#ifdef CONFIG_ADDR_MAP
+extern void init_addr_map(void);
+#endif
extern unsigned int setup_ddr_tlbs(unsigned int memsize_in_meg);
#define SET_TLB_ENTRY(_tlb, _epn, _rpn, _perms, _wimge, _ts, _esel, _sz, _iprot) \