summaryrefslogtreecommitdiff
path: root/include/configs/zipitz2.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2010-09-30 12:22:38 +0200
committerWolfgang Denk <wd@denx.de>2010-10-19 23:05:05 +0200
commit24e84c3dcbfc732888fecc502b7b560b4e372876 (patch)
treed637f72c87b08d52a9e52fd76a087b2ad95e3ec5 /include/configs/zipitz2.h
parent720a650caa510bf8e941f8da247fc572958f3c3d (diff)
downloadu-boot-imx-24e84c3dcbfc732888fecc502b7b560b4e372876.zip
u-boot-imx-24e84c3dcbfc732888fecc502b7b560b4e372876.tar.gz
u-boot-imx-24e84c3dcbfc732888fecc502b7b560b4e372876.tar.bz2
PXA: Fix ZipitZ2 for Reloc
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'include/configs/zipitz2.h')
-rw-r--r--include/configs/zipitz2.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h
index 642c575..ce65d1f 100644
--- a/include/configs/zipitz2.h
+++ b/include/configs/zipitz2.h
@@ -41,8 +41,9 @@
#define CONFIG_ENV_ADDR 0x40000
#define CONFIG_ENV_SIZE 0x20000
-#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + CONFIG_STACKSIZE)
+#define CONFIG_SYS_MALLOC_LEN (128*1024)
#define CONFIG_SYS_GBL_DATA_SIZE 512
+#define CONFIG_ARCH_CPU_INIT
#define CONFIG_BOOTCOMMAND \
"if mmc init && fatload mmc 0 0xa0000000 uboot.script ; then " \
@@ -56,7 +57,7 @@
#define CONFIG_BOOTDELAY 2 /* Autoboot delay */
#define CONFIG_CMDLINE_TAG
#define CONFIG_SETUP_MEMORY_TAGS
-
+#define CONFIG_SYS_TEXT_BASE 0x0
#define CONFIG_LZMA /* LZMA compression support */
/*
@@ -176,7 +177,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 (CONFIG_SYS_GBL_DATA_SIZE + PHYS_SDRAM_1)
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_GBL_DATA_SIZE + PHYS_SDRAM_1 + 2048)
/*
* NOR FLASH
@@ -221,7 +222,7 @@ unsigned char zipitz2_spi_read(void);
#define CONFIG_SYS_GPCR3_VAL 0x00000000
#define CONFIG_SYS_GPDR0_VAL 0xdafcee00
#define CONFIG_SYS_GPDR1_VAL 0xffa3aaab
-#define CONFIG_SYS_GPDR2_VAL 0x8fe1ffff
+#define CONFIG_SYS_GPDR2_VAL 0x8fe9ffff
#define CONFIG_SYS_GPDR3_VAL 0x001b1f8a
#define CONFIG_SYS_GPSR0_VAL 0x06080400
#define CONFIG_SYS_GPSR1_VAL 0x007f0000