summaryrefslogtreecommitdiffstats
path: root/lib_sparc/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_sparc/board.c')
-rw-r--r--lib_sparc/board.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib_sparc/board.c b/lib_sparc/board.c
index 2f3e6733b6..628d46d308 100644
--- a/lib_sparc/board.c
+++ b/lib_sparc/board.c
@@ -331,6 +331,10 @@ void board_init_f(ulong bootflag)
*/
interrupt_init();
+ /* initialize malloc() area */
+ mem_malloc_init();
+ malloc_bin_reloc();
+
#if !defined(CONFIG_SYS_NO_FLASH)
puts("FLASH: ");
@@ -371,11 +375,6 @@ void board_init_f(ulong bootflag)
bd->bi_flashoffset = 0;
#endif /* !CONFIG_SYS_NO_FLASH */
- /* initialize malloc() area */
- mem_malloc_init();
-
- malloc_bin_reloc();
-
#ifdef CONFIG_SPI
# if !defined(CONFIG_ENV_IS_IN_EEPROM)
spi_init_f();