[U-Boot] [PATCH v3 5/6] omap2420h4: fix build breaks

Aneesh V aneesh at ti.com
Thu Jun 9 13:24:09 CEST 2011


DRAM base address and use SRAM for initial stack

Signed-off-by: Aneesh V <aneesh at ti.com>
---
 include/configs/omap2420h4.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/configs/omap2420h4.h b/include/configs/omap2420h4.h
index 2888c7b..01f402b 100644
--- a/include/configs/omap2420h4.h
+++ b/include/configs/omap2420h4.h
@@ -220,6 +220,7 @@
 #define PHYS_FLASH_2             (H4_CS0_BASE+SZ_32M) /* same cs, 2 chips in series */
 #define PHYS_FLASH_SIZE_2        SZ_32M
 
+#define PHYS_SRAM		0x4020F800
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */
@@ -271,4 +272,7 @@
 #define MTDPARTS_DEFAULT	"mtdparts=omap2420-1:-(jffs2)"
 */
 
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR 	PHYS_SRAM
+
 #endif							/* __CONFIG_H */
-- 
1.7.0.4



More information about the U-Boot mailing list