From: Stefan Agner <stefan@agner.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 0/6] mtd: nand: mxs_nand: improve ECC support
Date: Fri, 22 Jun 2018 17:19:45 +0200 [thread overview]
Message-ID: <20180622151951.12851-1-stefan@agner.ch> (raw)
From: Stefan Agner <stefan.agner@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
next reply other threads:[~2018-06-22 15:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-22 15:19 Stefan Agner [this message]
2018-06-22 15:19 ` [U-Boot] [PATCH v4 1/6] mtd: nand: mxs_nand: introduce SPL specific init Stefan Agner
2018-06-22 15:19 ` [U-Boot] [PATCH v4 2/6] mtd: nand: mxs_nand: use self init Stefan Agner
2018-07-12 6:17 ` Jörg Krause
2018-06-22 15:19 ` [U-Boot] [PATCH v4 3/6] mtd: nand: mxs_nand: allow to enable BBT support Stefan Agner
2018-06-22 15:19 ` [U-Boot] [PATCH v4 4/6] mtd: nand: mxs_nand: use structure for BCH geometry Stefan Agner
2018-06-22 15:19 ` [U-Boot] [PATCH v4 5/6] mtd: nand: mxs_nand: report correct ECC parameters Stefan Agner
2018-06-22 15:19 ` [U-Boot] [PATCH v4 6/6] mtd: nand: mxs_nand: add minimal ECC support Stefan Agner
2018-06-27 7:41 ` [U-Boot] [PATCH v4 0/6] mtd: nand: mxs_nand: improve " Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180622151951.12851-1-stefan@agner.ch \
--to=stefan@agner.ch \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.