diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-06-09 11:07:46 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-08-27 11:43:48 -0500 |
commit | 6fb1b7346849ccd0c20306143e334f5b76143070 (patch) | |
tree | 320b50edcc6655272ed8d5deb2818d370a076609 /include/asm-ppc | |
parent | b5710d9974f6f0f3ddb4e67d6cccc262ab37049e (diff) | |
download | u-boot-imx-6fb1b7346849ccd0c20306143e334f5b76143070.zip u-boot-imx-6fb1b7346849ccd0c20306143e334f5b76143070.tar.gz u-boot-imx-6fb1b7346849ccd0c20306143e334f5b76143070.tar.bz2 |
FSL DDR: Add e500 TLB helper for DDR code
Provide a helper function that board code can call to map TLBs when
setting up DDR.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/mmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h index 050a7b6..8975e6c 100644 --- a/include/asm-ppc/mmu.h +++ b/include/asm-ppc/mmu.h @@ -431,6 +431,7 @@ 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); +extern unsigned int setup_ddr_tlbs(unsigned int memsize_in_meg); #define SET_TLB_ENTRY(_tlb, _epn, _rpn, _perms, _wimge, _ts, _esel, _sz, _iprot) \ { .tlb = _tlb, .epn = _epn, .rpn = _rpn, .perms = _perms, \ |