omap1610h2: fix build breaks
authorAneesh V <aneesh@ti.com>
Thu, 9 Jun 2011 12:54:45 +0000 (08:54 -0400)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 21 Jun 2011 20:26:20 +0000 (22:26 +0200)
Provide SDRAM base address and use SRAM for initial stack

Signed-off-by: Aneesh V <aneesh@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
include/configs/omap1610h2.h

index 2936dcc..cb2a07f 100644 (file)
@@ -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 */