public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mtd: nand: mxs: reset BCH earlier, too, to avoid NAND startup problems
Date: Tue, 11 Dec 2012 17:23:27 -0600	[thread overview]
Message-ID: <1355268207.16025.1@snotra> (raw)
In-Reply-To: <1354740527-18798-1-git-send-email-w.sang@pengutronix.de> (from w.sang@pengutronix.de on Wed Dec  5 14:48:47 2012)

On 12/05/2012 02:48:47 PM, Wolfram Sang wrote:
> It could happen (1 out of 100 times) that NAND did not start up  
> correctly after
> warm rebooting, so we end up with various failures or DMA timed out  
> due to a
> stalled BCH. When resetting BCH together with GPMI, the issue could  
> not be
> observed anymore (after 10000+ reboots). We probably need the  
> consistent state
> already before sending commands to NAND. This behaviour was observed  
> in barebox
> and kernel, so I assume it affects U-Boot as well. I chose to keep  
> the extra
> reset for BCH when changing the flash layout to be on the safe side.
> 
> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
> ---

Applied to u-boot-nand-flash

-Scott

      parent reply	other threads:[~2012-12-11 23:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 20:48 [U-Boot] [PATCH] mtd: nand: mxs: reset BCH earlier, too, to avoid NAND startup problems Wolfram Sang
2012-12-05 22:28 ` Otavio Salvador
2012-12-05 23:35 ` Fabio Estevam
2012-12-05 23:39   ` Wolfram Sang
2012-12-06 10:11     ` Fabio Estevam
2012-12-11  2:32 ` Marek Vasut
2012-12-11 23:23 ` Scott Wood [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=1355268207.16025.1@snotra \
    --to=scottwood@freescale.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox