[U-Boot] [PATCH v4 0/6] mtd: nand: mxs_nand: improve ECC support
Stefan Agner
stefan at agner.ch
Fri Jun 22 15:19:45 UTC 2018
From: Stefan Agner <stefan.agner at toradex.com>
This patchset reworks the drivers ECC calculation to align more
with the Linux driver gpmi-nand.c. It aims to implements minimal
ECC support as supported by the NAND chip.
This is the rebased version after moving MXS NAND to Kconfig.
In this fourth revision the SPL driver is also taken care off. I
went with a conservative approach by initializing the SPL driver
as before since I do not have a device where I could test more
involved changes.
--
Stefan
Changes in v4:
- Update SPL driver accordingly
- Add include for SZ_ macros
Changes in v3:
- Fix indentation
Changes in v2:
- Extend the patchset with "report correct ECC parameters" patch
Stefan Agner (6):
mtd: nand: mxs_nand: introduce SPL specific init
mtd: nand: mxs_nand: use self init
mtd: nand: mxs_nand: allow to enable BBT support
mtd: nand: mxs_nand: use structure for BCH geometry
mtd: nand: mxs_nand: report correct ECC parameters
mtd: nand: mxs_nand: add minimal ECC support
drivers/mtd/nand/Kconfig | 9 +
drivers/mtd/nand/mxs_nand.c | 323 +++++++++++++++++++++-----------
drivers/mtd/nand/mxs_nand.h | 11 ++
drivers/mtd/nand/mxs_nand_spl.c | 3 +-
4 files changed, 235 insertions(+), 111 deletions(-)
create mode 100644 drivers/mtd/nand/mxs_nand.h
--
2.17.1
More information about the U-Boot
mailing list