mxc_nand: support 8bit ecc
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 6 Aug 2010 13:53:10 +0000 (15:53 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Aug 2010 15:38:03 +0000 (16:38 +0100)
commit6e85dfdc19ef526edec285aed47c83934882e9bd
treeba9fe60c6aab5cbc6dec94abd58b8eaf6f2f9d5e
parent94f77e50d658be1d3ff23fb65e4d075a6f4ebee3
mxc_nand: support 8bit ecc

Nand devices with at least 26 bytes of oob data per 512 byte block
can have 8bit ecc on v2 type controllers. This is currently not tested,
but at least this patch puts the ECC_MODE bit into a well defined state.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/mxc_nand.c