Эх сурвалжийг харах

omap730p2: 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 жил өмнө
parent
commit
7b2fac7654

+ 5 - 0
include/configs/omap730p2.h

@@ -180,6 +180,8 @@
 #error Unknown Boot Chip-Select number
 #endif
 
+#define PHYS_SRAM		0x20000000
+
 #define CONFIG_SYS_FLASH_BASE		   PHYS_FLASH_1
 
 /*-----------------------------------------------------------------------
@@ -200,4 +202,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 */