[PATCH 0/6] Bringing generic ECC engine support to SPI-NAND

Miquel Raynal miquel.raynal at bootlin.com
Thu Oct 1 06:20:08 EDT 2020


Hello,

This is the penultimate series regarding ECC engine support for
SPI-NAND devices.

Previous work prepared the subsystem for the addition, cleaned and
created real software engines, created a real on-die ECC engine. This
series gathers all the existing bits into a final solution where
SPI-NAND devices may be linked to either their own on-die ECC engine,
or an external software engine.

Last step will be to bring external and pipelined (ie. not on-die)
hardware ECC engines.

Thanks,
Miquèl

Miquel Raynal (6):
  mtd: nand: Add helpers to manage ECC engines and configurations
  dt-bindings: mtd: Deprecate nand-ecc-mode
  mtd: spinand: Use the external ECC engine logic
  mtd: spinand: Allow the case where there is no ECC engine
  mtd: spinand: Fix OOB read
  mtd: spinand: Remove outdated comment

 .../bindings/mtd/nand-controller.yaml         |  11 +-
 drivers/mtd/nand/core.c                       | 124 ++++++++++++++++++
 drivers/mtd/nand/ecc.c                        |   8 +-
 drivers/mtd/nand/spi/Kconfig                  |   1 +
 drivers/mtd/nand/spi/core.c                   | 109 ++++++++-------
 include/linux/mtd/nand.h                      |   4 +
 6 files changed, 194 insertions(+), 63 deletions(-)

-- 
2.20.1




More information about the linux-mtd mailing list