OSDN Git Service

mtd: nand: mxc: Add function to control hardware ECC
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 17 Jan 2018 11:32:07 +0000 (12:32 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 12 Feb 2018 22:35:24 +0000 (23:35 +0100)
commit040bd3f6a3aa51a7182bba4243428e9df8507146
tree06118bc087e2b07df35d773c10272d3d2cd469fa
parent1549333167edcbab5e8170ae45fbee99eeb4ddb1
mtd: nand: mxc: Add function to control hardware ECC

For proper raw read/write support need to be able to control the
hardware ECC engine. Add a function to enable/disable it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/mxc_nand.c