[U-Boot] [PATCH] CFI Driver: Reset watchdog timer after each flash operation

Stefan Roese sr at denx.de
Fri Oct 2 13:06:38 CEST 2009


Hi Ingo,

On Friday 02 October 2009 12:34:17 Ingo van Lil wrote:
> The CFI driver does not reset the device's watchdog, so long-running
> flash operations will cause the watchdog timer to expire. A comment in
> flash_status_check() suggests that udelay() is expected to reset the
> watchdog, but I can't find any architecture where it does.

PPC does it this way. udelay() in lib_ppc/time.c calls wait_ticks(). And here 
you will find WATCHDOG_RESET.

Which platform are you using? I support this needs to be fixed in your 
platform.
 
Cheers,
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