diff options
author | Becky Bruce <beckyb@kernel.crashing.org> | 2009-02-03 18:10:52 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-02-10 00:29:49 +0100 |
commit | c9315e6b4f244981de0b2eaaa29a7838a165b494 (patch) | |
tree | a27fab62224cf8b5e7f831f4c1c64ad6ba258d5d /lib_ppc/board.c | |
parent | d35ae5a938679bd7e18167faf79d0fb3c6639b51 (diff) | |
download | u-boot-imx-c9315e6b4f244981de0b2eaaa29a7838a165b494.zip u-boot-imx-c9315e6b4f244981de0b2eaaa29a7838a165b494.tar.gz u-boot-imx-c9315e6b4f244981de0b2eaaa29a7838a165b494.tar.bz2 |
mpc86xx: Add support to populate addr map based on BATs
If CONFIG_ADDR_MAP is enabled, update the address map
whenever we write a bat.
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Diffstat (limited to 'lib_ppc/board.c')
-rw-r--r-- | lib_ppc/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c index df1cf13..2262bb4 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -685,7 +685,7 @@ void board_init_r (gd_t *id, ulong dest_addr) */ trap_init (dest_addr); -#if defined(CONFIG_ADDR_MAP) && defined(CONFIG_E500) +#ifdef CONFIG_ADDR_MAP init_addr_map(); #endif |