summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/orion_nand.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-07-18 11:42:21 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-20 00:15:05 +0300
commit317c6d9b69eb2dcab2ca4759a2c1c04496ec1591 (patch)
tree3204f6dc9a6599f2652bc9138c2fd67a7f988654 /drivers/mtd/nand/raw/orion_nand.c
parentef422e1ecd272d077efce64432907632758cf2e2 (diff)
downloadlinux-317c6d9b69eb2dcab2ca4759a2c1c04496ec1591.tar.xz
mtd: rawnand: micron: Make ECC activation stateful
We currently don't store the on-die ECC state (enabled/disabled) which might force us to re-disable the engine even if it's already been disabled after we've read the page in raw mode to count the actual number of bitflips. Add an "enabled" field to struct micron_on_die_ecc to keep track of the ECC state. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/orion_nand.c')
0 files changed, 0 insertions, 0 deletions