Skip to content

Commit

Permalink
arm: pxa: fix 2nd flash chip address on LP-8x4x
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yanovich authored and Marek Vasut committed Dec 18, 2013
1 parent a3d6ca4 commit bf92349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/configs/lp8x4x.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf92349

Please sign in to comment.