All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] CFI Driver: Reset watchdog timer after each flash operation
Date: Fri, 2 Oct 2009 13:06:38 +0200	[thread overview]
Message-ID: <200910021306.38589.sr@denx.de> (raw)
In-Reply-To: <20091002103417.GA9767@zaphod.peppercon.de>

Hi Ingo,

On Friday 02 October 2009 12:34:17 Ingo van Lil wrote:
> The CFI driver does not reset the device's watchdog, so long-running
> flash operations will cause the watchdog timer to expire. A comment in
> flash_status_check() suggests that udelay() is expected to reset the
> watchdog, but I can't find any architecture where it does.

PPC does it this way. udelay() in lib_ppc/time.c calls wait_ticks(). And here 
you will find WATCHDOG_RESET.

Which platform are you using? I support this needs to be fixed in your 
platform.
 
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

  reply	other threads:[~2009-10-02 11:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-02 10:34 [U-Boot] [PATCH] CFI Driver: Reset watchdog timer after each flash operation Ingo van Lil
2009-10-02 11:06 ` Stefan Roese [this message]
2009-10-02 12:12   ` Ingo van Lil
2009-10-03 23:29     ` Wolfgang Denk
2009-10-04 11:15       ` Ingo van Lil
2009-10-04 11:49         ` Graeme Russ
2009-10-02 12:30 ` Wolfgang Denk
2009-10-02 18:31   ` Mike Frysinger
2009-10-02 19:35     ` Wolfgang Denk
2009-10-02 20:21     ` J. William Campbell
2009-10-02 21:59       ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200910021306.38589.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.