summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/ubi-media.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2024-05-22 07:39:53 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2024-07-01 11:51:39 +0200
commit726005052d2a8e8e2afa6a8cb1973d10d449964c (patch)
tree246e560883e52e1d209ff2dafba248ab5ca93d09 /drivers/mtd/ubi/ubi-media.h
parentd3dfbae6d4adee33deb804d28d10045878974471 (diff)
downloadlinux-726005052d2a8e8e2afa6a8cb1973d10d449964c.tar.gz
linux-726005052d2a8e8e2afa6a8cb1973d10d449964c.tar.bz2
linux-726005052d2a8e8e2afa6a8cb1973d10d449964c.zip
mtd: rawnand: mxc: support software ECC
With these changes the driver can be used with software BCH ECC which is useful for NAND chips that require a stronger ECC than the i.MX hardware supports. The controller normally interleaves user data with OOB data when accessing the NAND chip. With Software BCH ECC we write the data to the NAND in a way that the raw data on the NAND chip matches the way the NAND layer sees it. This way commands like NAND_CMD_RNDOUT work as expected. This was tested on i.MX27 but should work on the other SoCs supported by this driver as well. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20240522-mtd-nand-mxc-nand-exec-op-v4-3-75b611e0ac44@pengutronix.de
Diffstat (limited to 'drivers/mtd/ubi/ubi-media.h')
0 files changed, 0 insertions, 0 deletions