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

Stefano Babic sbabic at denx.de
Wed Jun 27 07:41:04 UTC 2018


Hi Stefan,

On 22/06/2018 17:19, Stefan Agner wrote:
> 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
> 

As discussed previously: applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list