|
@@ -59,6 +59,11 @@
|
|
|
#include <miiphy.h>
|
|
|
#endif
|
|
|
|
|
|
+#ifdef CONFIG_VF610
|
|
|
+#define VF610_LOWER_BANK_ADDR 0x3F000000
|
|
|
+#define VF610_MALLOC_SIZE (400<<10)
|
|
|
+#endif
|
|
|
+
|
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
|
|
|
|
ulong monitor_flash_len;
|
|
@@ -557,8 +562,8 @@ void board_init_r(gd_t *id, ulong dest_addr)
|
|
|
/* The Malloc area is immediately below the monitor copy in DRAM */
|
|
|
malloc_start = dest_addr - TOTAL_MALLOC_LEN;
|
|
|
#ifdef CONFIG_VF610
|
|
|
- malloc_start = 0x3F000000;
|
|
|
- mem_malloc_init (malloc_start, 400<<10);
|
|
|
+ malloc_start = VF610_LOWER_BANK_ADDR;
|
|
|
+ mem_malloc_init (malloc_start, VF610_MALLOC_SIZE);
|
|
|
#else
|
|
|
malloc_start = dest_addr - TOTAL_MALLOC_LEN;
|
|
|
mem_malloc_init (malloc_start, TOTAL_MALLOC_LEN);
|