[U-Boot-Users] [PATCH 1/2] Don't panic if a controller driver does ecc its own way.

Scott Wood scottwood at freescale.com
Mon Apr 14 18:34:55 CEST 2008


On Mon, Apr 14, 2008 at 12:01:54AM +0200, Wolfgang Denk wrote:
> In message <20080324175302.GA1280 at ld0162-tx32.am.freescale.net> you wrote:
> > Some hardware, such as the enhanced local bus controller used on some
> > mpc83xx chips, does ecc transparently when reading and writing data, rather
> > than providing a generic calculate/correct mechanism that can be exported to
> > the nand subsystem.
> > 
> > The subsystem should not BUG() when calculate, correct, or hwctl are
> > missing, if the methods that call them have been overridden.
> > 
> > Signed-off-by: Scott Wood <scottwood at freescale.com>
> 
> This should go through the 83xx custodian, but I haven't seen this
> yet?

Why should it go through 83xx?  It's a patch against generic NAND code.

> Anyway, it does not apply any more:
> 
> Applying Don't panic if a controller driver does ecc its own way.
> error: patch failed: drivers/mtd/nand/nand_base.c:2593
> error: drivers/mtd/nand/nand_base.c: patch does not apply
> fatal: sha1 information is lacking or useless
> (drivers/mtd/nand/nand_base.c).
> Repository lacks necessary blobs to fall back on 3-way merge.
> Cannot fall back to three-way merge.

Did you try applying it against the 2.6.22.1 branch of the nand
repository (IIRC, the non-commit-message patch comment specified that)?

-Scott




More information about the U-Boot mailing list