From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] * Fix: watchdog timed out, if flash blank (0xFF) blocks
Date: Thu, 9 Feb 2012 10:49:52 +0100 [thread overview]
Message-ID: <201202091049.53189.sr@denx.de> (raw)
In-Reply-To: <1327652993-16667-1-git-send-email-esw@bus-elektronik.de>
On Friday 27 January 2012 09:29:53 Jens Scharsig (BuS Elektronik) wrote:
> The current implementation of cfi_flash uses udelay to reset watchdog.
> If several blocks are blank (0xff filled) the watchdog timed out.
> The reason is, udelay is never called, if flash device is ready to fast.
>
> e.g.
> mw.w $(copy_addr) FFFF 10000;cp.b $(copy_addr) 10880000 20000
>
> -> watchdog timed out
>
> mw.w $(copy_addr) 0000 10000;cp.b $(copy_addr) 10880000 20000
>
> -> watchdog not timed out
>
> This patch adds an extra watchdog reset in front of flash ready check.
>
> Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Applied to u-boot-cfi-flash. Thanks.
Best regards,
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
prev parent reply other threads:[~2012-02-09 9:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-27 8:29 [U-Boot] [PATCH] * Fix: watchdog timed out, if flash blank (0xFF) blocks Jens Scharsig
2012-02-09 9:49 ` Stefan Roese [this message]
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=201202091049.53189.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.