Skip to contentSkip to conversation

TI: TNETV107X Fix Build Error

PATCH New Chan-Taek Park 3 participants 3 messages Jun 23, 2011 – Jul 17, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TI: TNETV107X Fix Build Error

This patch provides SDRAM base address and initial stack address to fix build errors.

---
 include/configs/tnetv107x_evm.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
include/configs/tnetv107x_evm.h +6 -0
index 3627ce7..4bced0c 100644
@@ -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
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 TI: TNETV107X Fix Build Error

Quoted 20 lines

This patch provides SDRAM base address and initial stack address to fix build errors.

---
 include/configs/tnetv107x_evm.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
include/configs/tnetv107x_evm.h +0 -0
index 3627ce7..4bced0c 100644
@@ -57,6 +57,12 @@
 #define CONFIG_NR_DRAM_BANKS		1
 #define CONFIG_STACKSIZE		(256*1024)
 

include/configs/tnetv107x_evm.h

Quoted 10 lines
include/configs/tnetv107x_evm.h +6 -1
+#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