[U-Boot] [PATCH v3 1/6] omap1610h2: fix build breaks

Aneesh V aneesh at ti.com
Thu Jun 9 13:24:05 CEST 2011


Provide SDRAM base address and use SRAM for initial stack
---
 include/configs/omap1610h2.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/configs/omap1610h2.h b/include/configs/omap1610h2.h
index 2936dcc..cb2a07f 100644
--- a/include/configs/omap1610h2.h
+++ b/include/configs/omap1610h2.h
@@ -172,6 +172,8 @@ extern unsigned long omap_flash_base;		/* set in flash__init */
 
 #endif
 
+#define PHYS_SRAM		0x20000000
+
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
@@ -189,4 +191,7 @@ extern unsigned long omap_flash_base;		/* set in flash__init */
 #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