|
@@ -60,8 +60,8 @@
|
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_VF610
|
|
|
-#define VF610_LOWER_BANK_ADDR 0x3F000000
|
|
|
-#define VF610_MALLOC_SIZE (400<<10)
|
|
|
+#define VF610_LOWER_BANK_ADDR 0x3F400000
|
|
|
+#define VF610_MALLOC_SIZE (256<<10)
|
|
|
#endif
|
|
|
|
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
@@ -389,11 +389,12 @@ void board_init_f(ulong bootflag)
|
|
|
* reserve memory for U-Boot code, data & bss
|
|
|
* round down to next 4 kB limit
|
|
|
*/
|
|
|
+#ifndef CONFIG_VF610
|
|
|
addr -= gd->mon_len;
|
|
|
addr &= ~(4096 - 1);
|
|
|
|
|
|
debug("Reserving %ldk for U-Boot at: %08lx\n", gd->mon_len >> 10, addr);
|
|
|
-
|
|
|
+#endif
|
|
|
#ifndef CONFIG_SPL_BUILD
|
|
|
/*
|
|
|
* reserve memory for malloc() arena
|
|
@@ -464,10 +465,15 @@ void board_init_f(ulong bootflag)
|
|
|
/* Ram ist board specific, so move it to board code ... */
|
|
|
dram_init_banksize();
|
|
|
display_dram_config(); /* and display it */
|
|
|
-
|
|
|
+#ifndef CONFIG_VF610
|
|
|
gd->relocaddr = addr;
|
|
|
gd->start_addr_sp = addr_sp;
|
|
|
gd->reloc_off = addr - _TEXT_BASE;
|
|
|
+#else
|
|
|
+ gd->relocaddr = CONFIG_SYS_TEXT_BASE;
|
|
|
+ gd->start_addr_sp = addr_sp;
|
|
|
+ gd->reloc_off = 0;
|
|
|
+#endif
|
|
|
debug("relocation Offset is: %08lx\n", gd->reloc_off);
|
|
|
if (new_fdt) {
|
|
|
memcpy(new_fdt, gd->fdt_blob, fdt_size);
|