From: Mike Frysinger Date: Tue, 31 Aug 2010 09:18:03 -0400 Subject: [U-Boot] [PATCH] cp/cmp: Add WATCHDOG_RESET in copy and compare loop In-Reply-To: <1283255853-30198-1-git-send-email-sr@denx.de> References: <1283255853-30198-1-git-send-email-sr@denx.de> Message-ID: <201008310918.04186.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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