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) <e...@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: off...@denx.de
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to