]> git.sur5r.net Git - u-boot/commitdiff
zipitz2: fix boot issue introduced by PXA low level init rework
authorVasily Khoruzhick <anarsoul@gmail.com>
Fri, 13 Jan 2012 07:11:44 +0000 (10:11 +0300)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 26 Mar 2012 21:09:22 +0000 (23:09 +0200)
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before
DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR
to SRAM

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
include/configs/zipitz2.h

index 26204af2c29c9407eed3a79485b754b0d2534d28..80d78b67170d73664e79c854b2e46a267c62831a 100644 (file)
@@ -161,6 +161,12 @@ unsigned char zipitz2_spi_read(void);
 #define        CONFIG_STACKSIZE_FIQ            (4*1024)        /* FIQ stack */
 #endif
 
+/*
+ * SRAM Map
+ */
+#define        PHYS_SRAM                       0x5c000000      /* SRAM Bank #1 */
+#define        PHYS_SRAM_SIZE                  0x00040000      /* 256k */
+
 /*
  * DRAM Map
  */
@@ -177,7 +183,7 @@ unsigned char zipitz2_spi_read(void);
 #define        CONFIG_SYS_LOAD_ADDR            CONFIG_SYS_DRAM_BASE
 
 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1
-#define        CONFIG_SYS_INIT_SP_ADDR         (GENERATED_GBL_DATA_SIZE + PHYS_SDRAM_1 + 2048)
+#define        CONFIG_SYS_INIT_SP_ADDR         (GENERATED_GBL_DATA_SIZE + PHYS_SRAM + 2048)
 
 /*
  * NOR FLASH