summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2012-01-13 10:11:44 +0300
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-26 23:09:22 +0200
commit76d4ae251e4a2f7724f4462baccc2779074fa937 (patch)
tree37a37fa8e599a0123d078ffb6aac40164ea4c4b4 /include/configs
parent7cb30b13f12077c7eec8ce2419cd96cd65ace8e2 (diff)
downloadu-boot-imx-76d4ae251e4a2f7724f4462baccc2779074fa937.zip
u-boot-imx-76d4ae251e4a2f7724f4462baccc2779074fa937.tar.gz
u-boot-imx-76d4ae251e4a2f7724f4462baccc2779074fa937.tar.bz2
zipitz2: fix boot issue introduced by PXA low level init rework
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>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/zipitz2.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h
index 26204af..80d78b6 100644
--- a/include/configs/zipitz2.h
+++ b/include/configs/zipitz2.h
@@ -162,6 +162,12 @@ unsigned char zipitz2_spi_read(void);
#endif
/*
+ * SRAM Map
+ */
+#define PHYS_SRAM 0x5c000000 /* SRAM Bank #1 */
+#define PHYS_SRAM_SIZE 0x00040000 /* 256k */
+
+/*
* DRAM Map
*/
#define CONFIG_NR_DRAM_BANKS 1 /* We have 1 bank of DRAM */
@@ -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