[PATCH 0/5] mtd: rawnand: zynq: Fixes and software ECC support

Miquel Raynal (DAVE) miquel.raynal at bootlin.com
Fri May 29 18:38:56 CEST 2026


This driver is deeply broken in many ways. I've tried to clean it up by:
- flagging the most hiddeous parts (where Micron on-die ECC support is
  hardcoded)
- enabling DT support, eg. for reading the ECC configuration
- fixing software ECC support
- aligning the software ECC OOB layout to the rest of the world and
  allow a working interoperability in Linux.

Signed-off-by: Miquel Raynal (DAVE) <miquel.raynal at bootlin.com>
---
Miquel Raynal (DAVE) (5):
      mtd: rawnand: zynq: Align the layout structures with the driver namespace
      mtd: rawnand: zynq: Add comments about very bad practices
      mtd: rawnand: zynq: Make sure an of node is attached
      mtd: rawnand: zynq: Do not fail the probe for no reason
      mtd: rawnand: zynq: Fix Software ECC engine support

 drivers/mtd/nand/raw/zynq_nand.c | 115 ++++++++++-----------------------------
 1 file changed, 28 insertions(+), 87 deletions(-)
---
base-commit: 744cf5d4e398c5f657e5c3eeb44d00fa5175dc85
change-id: 20260522-dave-upstream-nand-fixes-60a5336517a2

Best regards,
-- 
Miquel Raynal <miquel.raynal at bootlin.com>



More information about the U-Boot mailing list