mbox series

[0/2] mtd: spi-nand: Add support for read retry

Message ID 20240905055333.2363358-1-linchengming884@gmail.com
Headers show
Series mtd: spi-nand: Add support for read retry | expand

Message

Cheng Ming Lin Sept. 5, 2024, 5:53 a.m. UTC
From: Cheng Ming Lin <chengminglin@mxic.com.tw>

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(-)