linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] mtd: nand: sunxi: cleanup and improvements
@ 2015-09-30 21:45 Boris Brezillon
  2015-09-30 21:45 ` [PATCH v2 1/7] mtd: nand: sunxi: create sunxi_nfc_hw_ecc_enable()/disable() functions Boris Brezillon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Boris Brezillon @ 2015-09-30 21:45 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

This patch series aims at cleaning up the sunxi_nand driver by factorizing
the duplicated code found in hw_ecc and hw_syndrome_ecc implementations.

It also adds support for OOB bytes protection (only on a limited amount of
OOB bytes), and add code to correctly handle the 'bitflips in erased pages'
case.

Best Regards,

Boris

Changes since v1:
- drop the first patch (already applied)
- split the second patch to ease the review
- add the 'fix bitflips in erased pages' patch

Boris Brezillon (7):
  mtd: nand: sunxi: create sunxi_nfc_hw_ecc_enable()/disable() functions
  mtd: nand: sunxi: introduce sunxi_nfc_hw_ecc_read/write_chunk()
  mtd: nand: sunxi: make use of sunxi_nfc_hw_ecc_read/write_chunk()
  mtd: nand: sunxi: factorize extra OOB bytes handling
  mtd: nand: sunxi: retrieve corrected OOB bytes
  mtd: nand: sunxi: replace the NFC_BUF_TO_USER_DATA() macro by an
    inline function
  mtd: nand: sunxi: fix bitflips in erased pages

 drivers/mtd/nand/sunxi_nand.c | 416 ++++++++++++++++++++++--------------------
 1 file changed, 220 insertions(+), 196 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2015-10-04 21:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 21:45 [PATCH v2 0/7] mtd: nand: sunxi: cleanup and improvements Boris Brezillon
2015-09-30 21:45 ` [PATCH v2 1/7] mtd: nand: sunxi: create sunxi_nfc_hw_ecc_enable()/disable() functions Boris Brezillon
2015-09-30 21:45 ` [PATCH v2 2/7] mtd: nand: sunxi: introduce sunxi_nfc_hw_ecc_read/write_chunk() Boris Brezillon
2015-09-30 21:45 ` [PATCH v2 3/7] mtd: nand: sunxi: make use of sunxi_nfc_hw_ecc_read/write_chunk() Boris Brezillon
2015-09-30 21:45 ` [PATCH v2 4/7] mtd: nand: sunxi: factorize extra OOB bytes handling Boris Brezillon
2015-09-30 21:45 ` [PATCH v2 5/7] mtd: nand: sunxi: retrieve corrected OOB bytes Boris Brezillon
2015-09-30 21:45 ` [PATCH v2 6/7] mtd: nand: sunxi: replace the NFC_BUF_TO_USER_DATA() macro by an inline function Boris Brezillon
2015-09-30 21:45 ` [PATCH v2 7/7] mtd: nand: sunxi: fix bitflips in erased pages Boris Brezillon
2015-10-04 21:32 ` [PATCH v2 0/7] mtd: nand: sunxi: cleanup and improvements Brian Norris

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).