[PATCH v2 0/2] mtd: rawnand: atmel: Fix ECC error on SAM9
Zixun LI
admin at hifiphile.com
Fri Nov 7 16:02:22 CET 2025
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/c015bb20-6a57-4f63-8102-34b3d83e0f5b@microchip.com/
Signed-off-by: Zixun LI <admin at hifiphile.com>
---
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/20251106-pmecc-v1-0-a1f3cf430be9@hifiphile.com
---
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 <admin at hifiphile.com>
More information about the U-Boot
mailing list