]> git.sur5r.net Git - u-boot/commitdiff
arm: pxa: fix 2nd flash chip address on LP-8x4x
authorSergei Ianovich <ynvich@gmail.com>
Tue, 17 Dec 2013 01:03:42 +0000 (05:03 +0400)
committerMarek Vasut <marex@denx.de>
Wed, 18 Dec 2013 17:15:25 +0000 (18:15 +0100)
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>
include/configs/lp8x4x.h

index 324cc4d1b08d2e02d48f5cd4fbf3a22629ac420a..c5bf2fa0ad88224a10545e96eb1dca16feaeefc8 100644 (file)
 #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