mtd: vf610_nfc: add 32-error correction option for HW ECC
authorStefan Agner <stefan@agner.ch>
Fri, 8 May 2015 17:07:12 +0000 (19:07 +0200)
committerScott Wood <scottwood@freescale.com>
Sun, 24 May 2015 19:27:46 +0000 (14:27 -0500)
commit080a71e8e9fe917ba82bdde2251eb0d4dd68cb5c
treec1c6eec50e91e475414807837c8b005d28a140c1
parent5519194d4f6ba3c1aeea2f07f444cc936913560a
mtd: vf610_nfc: add 32-error correction option for HW ECC

Add option to choose between current 24-error correction and 32-error
correction through Kconfig. 32-error correction allow to use NAND
chips which require up to 8-bit error correction per 512 byte (when
using 2K pages).

Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/vf610_nfc.c