summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/spl_atmel.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/spl_atmel.c')
-rw-r--r--arch/arm/mach-at91/spl_atmel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/spl_atmel.c b/arch/arm/mach-at91/spl_atmel.c
index 847a30b9a9..b75c2ccefd 100644
--- a/arch/arm/mach-at91/spl_atmel.c
+++ b/arch/arm/mach-at91/spl_atmel.c
@@ -101,6 +101,8 @@ void board_init_f(ulong dummy)
board_early_init_f();
+ mem_init();
+
ret = spl_init();
if (ret) {
debug("spl_init() failed: %d\n", ret);
@@ -109,5 +111,4 @@ void board_init_f(ulong dummy)
preloader_console_init();
- mem_init();
}