[PATCH v3 0/4] mtd: Preparation patches for the SPI NAND framework

Boris Brezillon boris.brezillon at free-electrons.com
Fri Dec 15 04:39:50 PST 2017


Hello,

Here is a set of patches to prepare the introduction of the generic
NAND and SPI frameworks.

The last 2 patches have already been submitted here [1], and the first
two are new, and should also help simplify other drivers/frameworks
in providing generic code for already existing logic.

If you want to see the overall picture of the SPI NAND framework you can
have a look at this branch [2].

Regards,

Boris

[1]https://patchwork.ozlabs.org/patch/780477/
[2]https://github.com/bbrezillon/linux-0day/commits/nand/spi-nand-squashed

Boris Brezillon (4):
  mtd: Do not allow MTD devices with inconsistent erase properties
  mtd: Add an helper to make erase request aligned on ->erasesize
  mtd: Stop directly calling master ->_xxx() hooks from mtdpart code
  mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing

 drivers/mtd/devices/docg3.c        |  65 -----------------
 drivers/mtd/mtdcore.c              |  36 +++++++++-
 drivers/mtd/mtdpart.c              | 141 ++++++++++++++-----------------------
 drivers/mtd/nand/nand_base.c       |  56 ---------------
 drivers/mtd/onenand/onenand_base.c |  63 -----------------
 include/linux/mtd/mtd.h            |  28 ++++++++
 6 files changed, 115 insertions(+), 274 deletions(-)

-- 
2.11.0




More information about the linux-mtd mailing list