[PATCH 0/2] mtd: spi-nand: Add support for read retry
From: Cheng Ming Lin
Date: Thu Sep 05 2024 - 01:56:05 EST
From: Cheng Ming Lin <chengminglin@xxxxxxxxxxx>
When the host ECC fails to correct the data error of NAND device,
there's a special read for data recovery method which host executes
the Special Read for Data Recovery operation and may recover the
lost data by host ECC again.
For more detailed information, please refer to page 27 in the link below:
Link: https://www.macronix.com/Lists/Datasheet/Attachments/9034/MX35LF1G24AD,%203V,%201Gb,%20v1.4.pdf
Cheng Ming Lin (2):
mtd: spi-nand: Add fixups for read retry
mtd: spi-nand: Add read retry support
drivers/mtd/nand/spi/core.c | 33 +++++++++++++-
drivers/mtd/nand/spi/macronix.c | 79 ++++++++++++++++++++++++++-------
include/linux/mtd/spinand.h | 17 +++++++
3 files changed, 112 insertions(+), 17 deletions(-)
--
2.25.1