[U-Boot] [PATCH] cp/cmp: Add WATCHDOG_RESET in copy and compare loop

Mike Frysinger vapier at gentoo.org
Tue Aug 31 15:18:03 CEST 2010


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.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100831/a137c5aa/attachment.pgp 


More information about the U-Boot mailing list