]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Devkit8000: Fix build after introduction of GENERATED_GBL_DATA_SIZE
authorThomas Weber <weber@corscience.de>
Thu, 18 Nov 2010 07:45:25 +0000 (08:45 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 28 Nov 2010 10:55:15 +0000 (11:55 +0100)
This patch fixes the issue by defining and using
CONFIG_SYS_INIT_RAM_SIZE and CONFIG_SYS_INIT_RAM_ADDR.

This patch adopts the
commit 31bfcf1c5776df3d90286aa15104c45096d53dc6
from Steve Sakoman and Sandeep Paulraj on Devkit8000.

Signed-off-by: Thomas Weber <weber@corscience.de>
include/configs/devkit8000.h

index fa7a6c7d8e12060406dcaf8536622ff959ac8966..d898b777a76ef920a0f9e854663305e8bbb94b3a 100644 (file)
@@ -308,6 +308,10 @@ extern unsigned int boot_flash_type;
 #endif
 
 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1
-#define CONFIG_SYS_INIT_SP_ADDR        (LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_RAM_ADDR        0x4020f800
+#define CONFIG_SYS_INIT_RAM_SIZE        0x800
+#define CONFIG_SYS_INIT_SP_ADDR         (CONFIG_SYS_INIT_RAM_ADDR + \
+                                                        CONFIG_SYS_INIT_RAM_SIZE - \
+                                                        GENERATED_GBL_DATA_SIZE)
 
 #endif /* __CONFIG_H */