generic: import patch lowering bitflip_threshold on SPI-NAND
authorDaniel Golle <daniel@makrotopia.org>
Mon, 12 Aug 2024 02:06:14 +0000 (03:06 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 12 Aug 2024 10:31:37 +0000 (11:31 +0100)
commit1554af4c4380504eb1b37a100e56ecae749a67d5
treed72adf7c31c0634fc8d8b8773bd4cea278b9e2b3
parentc22ba7544eaa556bee92725d6ec13061247d25ad
generic: import patch lowering bitflip_threshold on SPI-NAND

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.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/generic/pending-6.6/410-mtd-spinand-set-bitflip_threshold-to-75-of-ECC-strength.patch [new file with mode: 0644]
target/linux/mediatek/patches-6.6/330-snand-mtk-bmt-support.patch