From: Wolfgang Denk Date: Mon, 21 Mar 2011 22:51:42 +0100 Subject: [U-Boot] [PATCH] mpc52xx, digsy_mtc_rev5: Fix Linux crash, if no Flash in bank 2 In-Reply-To: <1295591015-26109-1-git-send-email-hs@denx.de> References: <1295591015-26109-1-git-send-email-hs@denx.de> Message-ID: <20110321215142.62900CF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Heiko Schocher, In message <1295591015-26109-1-git-send-email-hs@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 > cc: Wolfgang Denk > cc: Werner Pfister > cc: Detlev Zundel > --- > 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