Skip to content

mtd: nand: sunxi: cleanup and improvements

Brian Norris linux-arm-kernel linux-mtd 2 versions – New

Get series with b4
b4 am 20151004213225.GA14735@localhost

Versions newest first · linked by author and title

  1. v2 Latest0 of 7 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] mtd: nand: sunxi: cleanup and improvements
Quoted 18 lines · Boris Brezillon

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

Quoted 9 lines

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

All look good to me. Pushed to l2-mtd.git. Thanks.