diff options
author | Wolfgang Denk <wd@denx.de> | 2010-09-08 00:48:27 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-08 00:48:27 +0200 |
commit | f8736c2125f5bbbe7507e59c7b2c44ec17196aa3 (patch) | |
tree | 5c8fd133791edae0cd61f7ee1b1b042697251a27 /arch/avr32/lib/board.c | |
parent | cf64fda38e3d71e9077e11c673bd9be449c680da (diff) | |
parent | 1f36f73fe70560a2bd286a7abc8530fdc93af9ae (diff) | |
download | u-boot-imx-f8736c2125f5bbbe7507e59c7b2c44ec17196aa3.zip u-boot-imx-f8736c2125f5bbbe7507e59c7b2c44ec17196aa3.tar.gz u-boot-imx-f8736c2125f5bbbe7507e59c7b2c44ec17196aa3.tar.bz2 |
Merge branch 'avr32' of git://git.denx.de/u-boot-atmel
Diffstat (limited to 'arch/avr32/lib/board.c')
-rw-r--r-- | arch/avr32/lib/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/avr32/lib/board.c b/arch/avr32/lib/board.c index 9e741d2..aa589bb 100644 --- a/arch/avr32/lib/board.c +++ b/arch/avr32/lib/board.c @@ -33,6 +33,7 @@ #include <asm/initcalls.h> #include <asm/sections.h> +#include <asm/arch/mmu.h> #ifndef CONFIG_IDENT_STRING #define CONFIG_IDENT_STRING "" @@ -265,6 +266,9 @@ void board_init_r(gd_t *new_gd, ulong dest_addr) gd->flags |= GD_FLG_RELOC; gd->reloc_off = dest_addr - CONFIG_SYS_MONITOR_BASE; + /* Enable the MMU so that we can keep u-boot simple */ + mmu_init_r(dest_addr); + board_early_init_r(); monitor_flash_len = _edata - _text; |