[PATCH v3 0/4] mtd: Preparation patches for the SPI NAND framework
Boris Brezillon
boris.brezillon at free-electrons.com
Sat Jan 6 12:43:41 PST 2018
On Fri, 15 Dec 2017 13:39:50 +0100
Boris Brezillon <boris.brezillon at free-electrons.com> wrote:
> 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
Applied the whole series. I'm preparing a patch to remove unneeded
checks done in part_read/write_oob() (as suggested by Peter).
>
> 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(-)
>
More information about the linux-mtd
mailing list