[U-Boot] [PATCH v2 0/6] mtd: nand: mxs_nand: improve ECC support

Stefan Agner stefan at agner.ch
Fri Feb 2 21:44:18 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.

The first three patches are of preparational nature, I hope that
especially the first two can go in soonish to avoid conflicts.

--
Stefan

Changes in v2:
- Extend the patchset with "Convert CONFIG_NAND_MXS to Kconfig" patch
- Extend the patchset with "report correct ECC parameters" patch

Stefan Agner (6):
  Convert CONFIG_NAND_MXS to Kconfig
  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

 configs/apx4devkit_defconfig            |   3 +-
 configs/aristainetos2_defconfig         |   3 +-
 configs/aristainetos2b_defconfig        |   3 +-
 configs/aristainetos_defconfig          |   3 +-
 configs/cm_fx6_defconfig                |  11 +-
 configs/colibri_imx7_defconfig          |   3 +-
 configs/gwventana_nand_defconfig        |   3 +-
 configs/m28evk_defconfig                |   3 +-
 configs/mx28evk_auart_console_defconfig |   3 +-
 configs/mx28evk_defconfig               |   3 +-
 configs/mx28evk_nand_defconfig          |   3 +-
 configs/mx28evk_spi_defconfig           |   3 +-
 configs/mx6sabreauto_defconfig          |   3 +-
 configs/mx6sxsabreauto_defconfig        |   3 +-
 configs/pcm058_defconfig                |   3 +-
 configs/pfla02_defconfig                |   3 +
 configs/platinum_picon_defconfig        |   3 +-
 configs/platinum_titanium_defconfig     |   3 +-
 configs/titanium_defconfig              |   3 +-
 drivers/mtd/nand/Kconfig                |   9 +
 drivers/mtd/nand/mxs_nand.c             | 282 +++++++++++++++++++-------------
 include/configs/aristainetos-common.h   |   1 -
 include/configs/cm_fx6.h                |   1 -
 include/configs/colibri_imx7.h          |   2 -
 include/configs/gw_ventana.h            |   1 -
 include/configs/mx6sabreauto.h          |   1 -
 include/configs/mx6sxsabreauto.h        |   1 -
 include/configs/mxs.h                   |   1 -
 include/configs/pcm058.h                |   1 -
 include/configs/pfla02.h                |   1 -
 include/configs/platinum.h              |   1 -
 include/configs/titanium.h              |   1 -
 32 files changed, 219 insertions(+), 149 deletions(-)

-- 
2.16.1



More information about the U-Boot mailing list