summaryrefslogtreecommitdiff
path: root/drivers/dfu/dfu.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-10-11 17:45:43 +0200
committerJagan Teki <jagan@amarulasolutions.com>2018-11-22 11:38:05 +0530
commitaf61ea27f51fce62188276d7b5682ac51b03a705 (patch)
tree42299cc1a2d133b5bf6099b2697184f067260fc5 /drivers/dfu/dfu.c
parent6293b0361d9816dc5286cd766d4865a30ebdfb6f (diff)
mtd: nand: pxa3xx: re-read a page in raw mode on uncorrectable error
This only applies on BCH path. When an empty page is read, it triggers an uncorrectable error. While this is expected, the ECC engine might produce itself bitflips in the read data under certain layouts. To overcome this situation, always re-read the entire page in raw mode and check for the whole page to be empty. Also report the right number of bitflips if there are any. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'drivers/dfu/dfu.c')
0 files changed, 0 insertions, 0 deletions