NAND ECC: alternative code

Charles Manning manningc2 at actrix.gen.nz
Sat Apr 26 02:29:57 EDT 2003


As I mentioned a few days back, there is an error in the oder of bytes in the 
ECC generated by nand_ecc.c. This is benign if used on its own, but does not 
conform to SmartMedia.

I have written an alternative ECC coder/checker to nand_ecc.c. I will be 
grafting this into YAFFS, but it is available under LGPL so may also be 
incorporated in mtd/nand, bootloaders etc.

It runs approx 15% faster than nand_ecc (architecure dependent) and is, IMHO, 
a bit easier to read/understand.

It will be available form YAFFS ECC in a few days. Is there any interest in 
using this for mtd/nand?

-- Charles





More information about the linux-mtd mailing list