summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDaniel Golle <[email protected]>2025-09-30 03:20:56 +0300
committerMichael Trimarchi <[email protected]>2025-10-05 20:26:06 +0200
commitd488490abdf2a2832fd7ce97bce4955c1026f15f (patch)
treebc2aa1efcdaabb49fcd19111d3b0c7f47c83c69a /include/linux
parent2a0f8e7da0e5db93df8d48c5aab05037e071ca1e (diff)
mtd: spinand: set bitflip_threshold to 75% of ECC strength
Reporting an unclean read from SPI-NAND only when the maximum number of correctable bitflip errors has been hit seems a bit late. UBI LEB scrubbing, which depends on the lower MTD device reporting correctable bitflips, then only kicks in when it's almost too late. Set bitflip_threshold to 75% of the ECC strength, which is also the default for raw NAND. This is a port of linux commit 1824520e7477 (mtd: spinand: set bitflip_threshold to 75% of ECC strength) Signed-off-by: Daniel Golle <[email protected]> Reviewed-by: Frieder Schrempf <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/2117e387260b0a96f95b8e1652ff79e0e2d71d53.1723427450.git.daniel@makrotopia.org Signed-off-by: Mikhail Kshevetskiy <[email protected]> # U-Boot port Signed-off-by: Michael Trimarchi <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions