omap1610h2: fix build breaks
authorAneesh V <aneesh@ti.com>
Thu, 9 Jun 2011 12:54:45 +0000 (08:54 -0400)
committerSandeep Paulraj <s-paulraj@ti.com>
Thu, 9 Jun 2011 12:54:45 +0000 (08:54 -0400)
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 2936dcc56f6916951f7ea6b294b8cfdffc701dab..cb2a07f65a8c7a51e6885a2549ec869767e9db3e 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 */