[U-Boot] [PATCH v3 4/6] omap1610inn: fix build breaks

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


Provide SDRAM base address and use SRAM for initial stack

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

diff --git a/include/configs/omap1610inn.h b/include/configs/omap1610inn.h
index 0b41c46..e82b4b2 100644
--- a/include/configs/omap1610inn.h
+++ b/include/configs/omap1610inn.h
@@ -177,6 +177,8 @@ extern unsigned long omap_flash_base;		/* set in flash__init */
 
 #endif
 
+#define PHYS_SRAM		0x20000000
+
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
@@ -194,4 +196,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