[U-Boot] [PATCH] * Fix: watchdog timed out, if flash blank (0xFF) blocks

Stefan Roese sr at denx.de
Thu Feb 9 10:49:52 CET 2012


On Friday 27 January 2012 09:29:53 Jens Scharsig (BuS Elektronik) wrote:
> The current implementation of cfi_flash uses udelay to reset watchdog.
> If several blocks are blank (0xff filled) the watchdog timed out.
> The reason is, udelay is never called, if flash device is ready to fast.
> 
> e.g.
>      mw.w $(copy_addr) FFFF 10000;cp.b $(copy_addr) 10880000 20000
> 
>      -> watchdog timed out
> 
>      mw.w $(copy_addr) 0000 10000;cp.b $(copy_addr) 10880000 20000
> 
>      -> watchdog not timed out
> 
> This patch adds an extra watchdog reset in front of flash ready check.
> 
> Signed-off-by: Jens Scharsig (BuS Elektronik) <esw at bus-elektronik.de>

Applied to u-boot-cfi-flash. Thanks.

Best regards,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list