NAND ECC error is observed on SAM9G25 after updating Linux from 3.16 to
6.6, due to PMECC setup time config was lost in the driver reworking.[1]

U-Boot is also affacted as it use the same driver, this patchset backport
the upstream fix.

Backported from Linux: f552a7c7e0a1 ("mtd: rawnand: atmel: set pmecc data
setup time")

Fixes: a490e1b7c017c ("nand: atmel: Add pmecc driver")

[1]: 
https://lore.kernel.org/all/[email protected]/

Signed-off-by: Zixun LI <[email protected]>
---
Changes in v2:
- Update cover letter and use 12 digit commit hash
- Remove unused timing_res_idx
- Link to v1: 
https://lore.kernel.org/r/[email protected]

---
Zixun LI (2):
      mtd: rawnand: atmel: set pmecc data setup time
      mtd: rawnand: atmel: atmel_pmecc_create: Remove unused code

 drivers/mtd/nand/raw/atmel/pmecc.c | 11 +++++++----
 drivers/mtd/nand/raw/atmel/pmecc.h |  1 -
 2 files changed, 7 insertions(+), 5 deletions(-)
---
base-commit: ddc916334a7a7e180b532dbb2cf1b778466d2b9b
change-id: 20251106-pmecc-a3841c81c782

Best regards,
-- 
Zixun LI <[email protected]>

Reply via email to