mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
85xx: Add support to populate addr map based on TLB settings
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
committed by
Andrew Fleming-AFLEMING
parent
78bbc5ce15
commit
ecf5b98c7a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user