diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-12-16 14:59:20 -0600 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-12-19 18:20:08 -0600 |
commit | ecf5b98c7a6a2e2256dfddd48fab26678dcd6b90 (patch) | |
tree | b5b14efe94ac15ab102d14cc9233b20d1213f994 /lib_ppc/board.c | |
parent | 78bbc5ce151c5a484bb51bf1866b4a993ffc16ec (diff) | |
download | u-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 'lib_ppc/board.c')
-rw-r--r-- | lib_ppc/board.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 289a32a..61c29b5 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -75,6 +75,10 @@ #include <keyboard.h> #endif +#ifdef CONFIG_ADDR_MAP +#include <asm/mmu.h> +#endif + #ifdef CONFIG_SYS_UPDATE_FLASH_SIZE extern int update_flash_size (int flash_size); #endif @@ -694,6 +698,10 @@ void board_init_r (gd_t *id, ulong dest_addr) */ trap_init (dest_addr); +#if defined(CONFIG_ADDR_MAP) && defined(CONFIG_E500) + init_addr_map(); +#endif + #if defined(CONFIG_BOARD_EARLY_INIT_R) board_early_init_r (); #endif |