]> git.sur5r.net Git - u-boot/commit
mpc52xx, digsy_mtc_rev5: Fix Linux crash, if no Flash in bank 2
authorHeiko Schocher <hs@denx.de>
Fri, 21 Jan 2011 06:23:35 +0000 (07:23 +0100)
committerWolfgang Denk <wd@denx.de>
Mon, 21 Mar 2011 21:51:27 +0000 (22:51 +0100)
commit927d2cea6bdbb2d6297db738c6fe8a6cfc18882f
treeecd6740ddc178a83d61698b0bb0abc1de8210f02
parent62043ed02a2acffa801e3574e249de07d30336a2
mpc52xx, digsy_mtc_rev5: Fix Linux crash, if no Flash in bank 2

If no Flash is connected to cs1, Linux crashes, because
reg entries are not correct adapted.

Following fix is needed:
- swap base addresses in CONFIG_SYS_FLASH_BANKS_LIST, as
  flash bank 1 is on chipselect 0 and flash bank 2 on
  chipselect 1
- call fdt_fixup_nor_flash_size() from ft_board_setup()

Signed-off-by: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <hs@denx.de>
cc: Werner Pfister <Pfister_Werner@intercontrol.de>
cc: Detlev Zundel <dzu@denx.de>
board/digsy_mtc/digsy_mtc.c
include/configs/digsy_mtc.h