[U-Boot] [PATCH] TI: TNETV107X Fix Build Error

This patch provides SDRAM base address and initial stack address to fix build errors.
Signed-off-by: Chan-Taek Park c-park@ti.com --- include/configs/tnetv107x_evm.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/configs/tnetv107x_evm.h b/include/configs/tnetv107x_evm.h index 3627ce7..4bced0c 100644 --- a/include/configs/tnetv107x_evm.h +++ b/include/configs/tnetv107x_evm.h @@ -57,6 +57,12 @@ #define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_STACKSIZE (256*1024)
+#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_RAM_SIZE 0x1000 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + \ + CONFIG_SYS_INIT_RAM_SIZE - \ + GENERATED_GBL_DATA_SIZE) + /* Serial Driver Info */ #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL

This patch provides SDRAM base address and initial stack address to fix build errors.
Signed-off-by: Chan-Taek Park c-park@ti.com
include/configs/tnetv107x_evm.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/configs/tnetv107x_evm.h b/include/configs/tnetv107x_evm.h index 3627ce7..4bced0c 100644 --- a/include/configs/tnetv107x_evm.h +++ b/include/configs/tnetv107x_evm.h @@ -57,6 +57,12 @@ #define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_STACKSIZE (256*1024)
+#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_RAM_SIZE 0x1000 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + \
CONFIG_SYS_INIT_RAM_SIZE - \
GENERATED_GBL_DATA_SIZE)
/* Serial Driver Info */ #define CONFIG_SYS_NS16550
#define CONFIG_SYS_NS16550_SERIAL
Albert,
If it ok with you I'd like to send a pull request for this patch. With this one more ARM board will build.
--Sandeep

Hi Chan-Taek Park,
Le 23/06/2011 21:19, Chan-Taek Park a écrit :
This patch provides SDRAM base address and initial stack address to fix build errors.
Signed-off-by: Chan-Taek Parkc-park@ti.com
Applied to u-boot-arm/master, thanks!
Amicalement,
participants (3)
-
Albert ARIBAUD
-
Chan-Taek Park
-
Paulraj, Sandeep