[U-Boot] [PATCH] mpc52xx, digsy_mtc_rev5: Fix Linux crash, if no Flash in bank 2

Wolfgang Denk wd at denx.de
Mon Mar 21 22:51:42 CET 2011


Dear Heiko Schocher,

In message <1295591015-26109-1-git-send-email-hs at denx.de> you wrote:
> 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 at denx.de>
> cc: Wolfgang Denk <hs at denx.de>
> cc: Werner Pfister <Pfister_Werner at intercontrol.de>
> cc: Detlev Zundel <dzu at denx.de>
> ---
>  board/digsy_mtc/digsy_mtc.c |    5 +++++
>  include/configs/digsy_mtc.h |    4 ++--
>  2 files changed, 7 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
So we follow our wandering paths, and the very darkness acts  as  our
guide and our doubts serve to reassure us. - Jean-Pierre de Caussade,
eighteenth-century Jesuit priest


More information about the U-Boot mailing list