From: Wolfgang Denk Date: Sun, 04 Oct 2009 01:29:10 +0200 Subject: [U-Boot] [PATCH] CFI Driver: Reset watchdog timer after each flash operation In-Reply-To: <4AC5EE3B.5090200@gmx.de> References: <20091002103417.GA9767@zaphod.peppercon.de> <200910021306.38589.sr@denx.de> <4AC5EE3B.5090200@gmx.de> Message-ID: <20091003232910.BEF2F832E408@gemini.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 Dear Ingo van Lil, In message <4AC5EE3B.5090200@gmx.de> you wrote: > > > PPC does it this way. udelay() in lib_ppc/time.c calls wait_ticks(). And here > > you will find WATCHDOG_RESET. > > You're right. Seems to be an exception, though: According to ctags there No, not an exception, but the reference implementation. I cannot help it that most other architectures / SoCs don;t care much. > I'm using an Atmel AT91-based custom board, and the udelay() function > can be found in cpu/arm926ejs/at91/timer.c. Unfortunately there's no > central udelay() implementation in lib_arm. Guess nobody attempted to use a WD on such a system before. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Backed up the system lately?