mtd: spinand: macronix: Add support for read retry
authorCheng Ming Lin <chengminglin@mxic.com.tw>
Mon, 24 Feb 2025 07:03:49 +0000 (15:03 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 4 Mar 2025 11:02:16 +0000 (12:02 +0100)
commita9d94a2a9e5a9a58487020e2f45584b3b663c8f5
tree6f759a8abb10a4867abc734e688905dfb92e5b7a
parentf2cb43c98010181b532ff36643731dc2442b9b7d
mtd: spinand: macronix: Add support for read retry

Add read retry support.

The Special Read for Data Recovery operation is enabled by
Set Feature function.

There are 5 modes for the user to recover the lost data.

Signed-off-by: Cheng Ming Lin <chengminglin@mxic.com.tw>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/macronix.c