summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Ianovich <ynvich@gmail.com>2013-12-17 05:03:42 +0400
committerMarek Vasut <marex@denx.de>2013-12-18 18:15:25 +0100
commitbf92349b41fb61364f2ea3b93d547eb68ade0946 (patch)
tree6bd3a13dec4c3f708369d0af2163a189240e49c0
parenta3d6ca432303bc19926a885c83149401abc24d0d (diff)
downloadu-boot-imx-bf92349b41fb61364f2ea3b93d547eb68ade0946.zip
u-boot-imx-bf92349b41fb61364f2ea3b93d547eb68ade0946.tar.gz
u-boot-imx-bf92349b41fb61364f2ea3b93d547eb68ade0946.tar.bz2
arm: pxa: fix 2nd flash chip address on LP-8x4x
Initial configuration has worng address of the second chip. There is an alias for the 1st chip at 0x02000000 in earlier verions of LP-8x4x, so the boot normally. However, new LP-8x4xs have a bigger 1st flash chip, and hang on boot without this patch. Signed-off-by: Sergei Ianovich <ynvich@gmail.com> CC: Marek Vasut <marex@denx.de>
-rw-r--r--include/configs/lp8x4x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/lp8x4x.h b/include/configs/lp8x4x.h
index 324cc4d..c5bf2fa 100644
--- a/include/configs/lp8x4x.h
+++ b/include/configs/lp8x4x.h
@@ -144,7 +144,7 @@
#define CONFIG_ENV_SECT_SIZE 0x40000
#define PHYS_FLASH_1 0x00000000 /* Flash Bank #1 */
-#define PHYS_FLASH_2 0x02000000 /* Flash Bank #2 */
+#define PHYS_FLASH_2 0x04000000 /* Flash Bank #2 */
#define CONFIG_SYS_FLASH_CFI
#define CONFIG_FLASH_CFI_DRIVER 1