]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mtd: rawnand: marvell: rework BCH engine failure path
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 19 Jul 2018 14:54:23 +0000 (16:54 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 3 Oct 2018 09:12:25 +0000 (11:12 +0200)
commitdbfc671856b349d702d94ccb96d38569991122cf
treec3a0d34236c2791c2ffec070e7832a20c81328b0
parente4cdf9cb3254b5b4d9b1064c275d8c40f2d82e03
mtd: rawnand: marvell: rework BCH engine failure path

We are about to support a new layout that triggers a faulty mechanism in
BCH engine that creates bitflips in erased pages.

Before adding the quirk that will workaround this issue, this patch just
reworks a bit the section that handles ECC failures in BCH read path.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/raw/marvell_nand.c