linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 mtd/nand/next 0/3] mtd: rawnand: fsl_elbc: Make SW ECC work
@ 2019-03-22 13:26 Marek Behún
  2019-03-22 13:26 ` [PATCH v1 mtd/nand/next 1/3] mtd: rawnand: fsl_elbc: Cosmetic move Marek Behún
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Marek Behún @ 2019-03-22 13:26 UTC (permalink / raw)
  To: linux-mtd; +Cc: Boris Brezillon, Marek Behún, Shreeya Patel, Miquel Raynal

Hi,

this patch series updates the fsl_elbc rawnand driver to work on CZ.NIC's
Turris 1.x, where the NAND chip's HW ECC is incompatible with the HW ECC
of the controller. Software ECC must be used, but the fsl_elbc driver does
not support it correctly, at least not for Turris.

The first patch only moves the attach_chip method only after the _read_page
and friends are defined, so that the third patch can reference these
methods in attach_chip.
The second patch adds RNDOUT command.
The third patch moves the code which sets ECC parameters from init_chip to
attach_chip because we want to consider device-tree settings (if SW ECC was
chosen in device-tree).

Marek

Marek Behún (3):
  mtd: rawnand: fsl_elbc: Cosmetic move
  mtd: rawnand: fsl_elbc: Implement RNDOUT command
  mtd: rawnand: fsl_elbc: Make SW ECC work

 drivers/mtd/nand/raw/fsl_elbc_nand.c | 201 +++++++++++++++------------
 1 file changed, 113 insertions(+), 88 deletions(-)

-- 
2.19.2


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-18 16:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-22 13:26 [PATCH v1 mtd/nand/next 0/3] mtd: rawnand: fsl_elbc: Make SW ECC work Marek Behún
2019-03-22 13:26 ` [PATCH v1 mtd/nand/next 1/3] mtd: rawnand: fsl_elbc: Cosmetic move Marek Behún
2019-04-18 16:10   ` Miquel Raynal
2019-03-22 13:26 ` [PATCH v1 mtd/nand/next 2/3] mtd: rawnand: fsl_elbc: Implement RNDOUT command Marek Behún
2019-03-22 13:26 ` [PATCH v1 mtd/nand/next 3/3] mtd: rawnand: fsl_elbc: Make SW ECC work Marek Behún

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).