|
@@ -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
|
|
#ifndef CONFIG_SYS_NO_FLASH
|
|
/* configure available FLASH banks */
|
|
/* configure available FLASH banks */
|
|
display_flash_config (flash_init ());
|
|
display_flash_config (flash_init ());
|
|
@@ -350,9 +353,6 @@ void start_armboot (void)
|
|
}
|
|
}
|
|
#endif /* CONFIG_LCD */
|
|
#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)
|
|
#if defined(CONFIG_CMD_NAND)
|
|
puts ("NAND: ");
|
|
puts ("NAND: ");
|
|
nand_init(); /* go init the NAND */
|
|
nand_init(); /* go init the NAND */
|