[PATCH] mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems
w.sang at pengutronix.de
Wed Dec 12 11:01:08 EST 2012
On Wed, Dec 12, 2012 at 05:11:43PM +0200, Artem Bityutskiy wrote:
> On Wed, 2012-12-05 at 21:46 +0100, Wolfram Sang wrote:
> > It could happen (1 out of 100 times) that NAND did not start up
> > correctly after warm rebooting, so the kernel could not find the UBI 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 any command to
> > NAND, even when no ECC is needed. 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 at pengutronix.de>
> > Cc: Huang Shijie <b32955 at freescale.com>
> > Cc: Artem Bityutskiy <dedekind1 at gmail.com>
> > Cc: David Woodhouse <david.woodhouse at intel.com>
> > ---
> > Would be really great to have in 3.7. Also a stable-candidate IMO.
> Pushed to l2-mtd.git, thanks
> If you believe this is suitable for stable, please let me know.
I strongly believe that.
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: Digital signature
More information about the linux-mtd