From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 31 Aug 2010 15:26:35 +0200 Subject: [U-Boot] [PATCH] cp/cmp: Add WATCHDOG_RESET in copy and compare loop In-Reply-To: <201008310918.04186.vapier@gentoo.org> References: <1283255853-30198-1-git-send-email-sr@denx.de> <201008310918.04186.vapier@gentoo.org> Message-ID: <201008311526.35087.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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