[U-Boot] [PATCH] nand: fix reading after switching ecc

Scott Wood scottwood at freescale.com
Tue Jan 14 22:05:26 CET 2014


On Tue, 2014-01-14 at 21:56 +0100, Jeroen Hofstee wrote:
> On 01/14/2014 09:41 PM, Scott Wood wrote:
> > On Tue, 2014-01-14 at 21:38 +0100, Jeroen Hofstee wrote:
> >> On 01/14/2014 09:21 PM, Scott Wood wrote:
> >>> All the other cleanup required to change ECC modes is handled by the
> >>> OMAP driver; why shouldn't this be as well?
> >>
> >> If there are more architectures, who think it is brilliant to switch ecc
> >> it will become a mesh if not coped with in general. And yes omap might
> >> be the exception for now, so lets put it there.
> > Perhaps, but solving it in general should not happen via changes like
> > this, but rather some sort of reset function that gives you a clean
> > slate.
> >
> I have no problem with a function call to nand_base resetting this
> flag, at least nand_base keeps in control of its own flag. I'll send
> you a patch for it.

I meant a function that resets everything that might have been set
automatically by the previous nand_scan_tail(), not just one flag.

-Scott




More information about the U-Boot mailing list