diff options
author | Wolfgang Denk <wd@denx.de> | 2008-12-30 23:30:47 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-12-30 23:30:47 +0100 |
commit | f85cd46918241842546e5021d0b88db2be50a048 (patch) | |
tree | 09bd0d7b2bcd71dd2c905c28c5bf8b10aff91944 /lib_ppc/board.c | |
parent | 22bab87db1b065aa66b15c2b47c89247289d4839 (diff) | |
parent | d9011f9b75561a0bd9254934c2bb2bc799d4f645 (diff) | |
download | u-boot-imx-f85cd46918241842546e5021d0b88db2be50a048.zip u-boot-imx-f85cd46918241842546e5021d0b88db2be50a048.tar.gz u-boot-imx-f85cd46918241842546e5021d0b88db2be50a048.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
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 |