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

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


Provide SDRAM base address and use SRAM for initial stack

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

diff --git a/include/configs/omap5912osk.h b/include/configs/omap5912osk.h
index b875464..db25b86 100644
--- a/include/configs/omap5912osk.h
+++ b/include/configs/omap5912osk.h
@@ -168,6 +168,8 @@
 
 #define CONFIG_SYS_MONITOR_BASE       CONFIG_SYS_FLASH_BASE  /* Monitor at beginning of flash */
 
+#define PHYS_SRAM		0x20000000
+
 /*-----------------------------------------------------------------------
  * FLASH driver setup
  */
@@ -199,4 +201,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