
In message 20080414163455.GA7061@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@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.
It seems to be 83xx specific code to me?
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)?
No, I tried to apply this to the U-Boot repository. Maybe this was my fault? Is this supposed to go into Linux, then?
Best regards,
Wolfgang Denk