[U-Boot] [PATCH] cp/cmp: Add WATCHDOG_RESET in copy and compare loop
Stefan Roese
sr at denx.de
Tue Aug 31 15:26:35 CEST 2010
Hi Mike,
On Tuesday 31 August 2010 15:18:03 Mike Frysinger wrote:
> On Tuesday, August 31, 2010 07:57:33 Stefan Roese wrote:
> > + /* reset watchdog from time to time */
> > + if ((count % 1000) == 0)
> > + WATCHDOG_RESET();
>
> please pick a number that doesnt involve needing to call libgcc math
> functions. like 1024.
Good idea, thanks. Will send an updated version soon.
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