diff options
Diffstat (limited to 'lib_arm/board.c')
-rw-r--r-- | lib_arm/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index 5d05d9b..e3040ac 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -316,6 +316,9 @@ void start_armboot (void) } } + /* armboot_start is defined in the board-specific linker script */ + mem_malloc_init (_armboot_start - CONFIG_SYS_MALLOC_LEN); + #ifndef CONFIG_SYS_NO_FLASH /* configure available FLASH banks */ display_flash_config (flash_init ()); @@ -350,9 +353,6 @@ void start_armboot (void) } #endif /* CONFIG_LCD */ - /* armboot_start is defined in the board-specific linker script */ - mem_malloc_init (_armboot_start - CONFIG_SYS_MALLOC_LEN); - #if defined(CONFIG_CMD_NAND) puts ("NAND: "); nand_init(); /* go init the NAND */ |