[PATCH 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-03-04 Thread Stefan Agner
This adds hardware ECC support using the BCH encoder in the NFC IP. The ECC encoder supports up to 32-bit correction by using 60 error correction bytes. There is no sub-page ECC step, ECC is calculated always accross the whole page (up to 2k pages). Signed-off-by: Bill Pringlemeir Signed-off-by:

[PATCH 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-03-04 Thread Stefan Agner
This adds hardware ECC support using the BCH encoder in the NFC IP. The ECC encoder supports up to 32-bit correction by using 60 error correction bytes. There is no sub-page ECC step, ECC is calculated always accross the whole page (up to 2k pages). Signed-off-by: Bill Pringlemeir