[U-Boot] [PATCH 6/6] omap730p2: fix build breaks

Aneesh V aneesh at ti.com
Thu Jun 9 10:24:14 CEST 2011


Provide SDRAM base address and use SRAM for initial stack

Signed-off-by: Aneesh V <aneesh at ti.com>
---
 include/configs/omap730p2.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/configs/omap730p2.h b/include/configs/omap730p2.h
index fa3681e..bf8e000 100644
--- a/include/configs/omap730p2.h
+++ b/include/configs/omap730p2.h
@@ -180,6 +180,8 @@
 #error Unknown Boot Chip-Select number
 #endif
 
+#define PHYS_SRAM		0x20000000
+
 #define CONFIG_SYS_FLASH_BASE		   PHYS_FLASH_1
 
 /*-----------------------------------------------------------------------
@@ -200,4 +202,7 @@
 #define CONFIG_ENV_SIZE		   0x20000	  /* Total Size of Environment Sector */
 #define CONFIG_ENV_OFFSET		   0x20000	  /* environment starts here  */
 
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR 	PHYS_SRAM
+
 #endif	  /* ! __CONFIG_H */
-- 
1.7.0.4



More information about the U-Boot mailing list