Преглед изворни кода

omap5912osk: 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 година
родитељ
комит
64d9b0ff97
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      include/configs/omap5912osk.h

+ 5 - 0
include/configs/omap5912osk.h

@@ -168,6 +168,8 @@
 
 
 #define CONFIG_SYS_MONITOR_BASE       CONFIG_SYS_FLASH_BASE  /* Monitor at beginning of flash */
 #define CONFIG_SYS_MONITOR_BASE       CONFIG_SYS_FLASH_BASE  /* Monitor at beginning of flash */
 
 
+#define PHYS_SRAM		0x20000000
+
 /*-----------------------------------------------------------------------
 /*-----------------------------------------------------------------------
  * FLASH driver setup
  * FLASH driver setup
  */
  */
@@ -199,4 +201,7 @@
 #define CONFIG_ENV_SIZE	0x20000	/* Total Size of Environment Sector */
 #define CONFIG_ENV_SIZE	0x20000	/* Total Size of Environment Sector */
 #define CONFIG_ENV_OFFSET	0x20000	/* environment starts here  */
 #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 */
 #endif							/* __CONFIG_H */