Browse Source

omap1610h2: fix build breaks

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>
Aneesh V 14 years ago
parent
commit
653fbd0eb9
1 changed files with 5 additions and 0 deletions
  1. 5 0
      include/configs/omap1610h2.h

+ 5 - 0
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 */