mbox series

[v4,0/4] mtd: Preparation patches for the SPI NAND framework

Message ID 20180108211542.11891-1-boris.brezillon@free-electrons.com
Headers show
Series mtd: Preparation patches for the SPI NAND framework | expand

Message

Boris Brezillon Jan. 8, 2018, 9:15 p.m. UTC
Hello,

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

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

Regards,

Boris

Change in v4:
- add "mtd: mtdpart: Make ECC stat handling consistent" and
- integrate "mtd: Remove duplicate checks on mtd_oob_ops parameter"
  into this series
- drop "mtd: Stop directly calling master ->_xxx() hooks from mtdpart
  code"

Boris Brezillon (3):
  mtd: mtdpart: Make ECC stat handling consistent
  mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
  mtd: Remove duplicate checks on mtd_oob_ops parameter

 drivers/mtd/devices/docg3.c        | 70 ------------------------------
 drivers/mtd/mtdcore.c              | 31 +++++++++++++-
 drivers/mtd/mtdpart.c              | 42 +++++-------------
 drivers/mtd/nand/nand_base.c       | 87 --------------------------------------
 drivers/mtd/onenand/onenand_base.c | 81 -----------------------------------
 5 files changed, 40 insertions(+), 271 deletions(-)

Comments

Boris Brezillon Jan. 8, 2018, 9:17 p.m. UTC | #1
Should be [PATCH v4 *0/3*].

On Mon,  8 Jan 2018 22:15:39 +0100
Boris Brezillon <boris.brezillon@free-electrons.com> wrote:

> Hello,
> 
> Here is a set of patches preparing the introduction of the generic
> NAND and SPI frameworks.
> 
> If you want to see the overall picture of the SPI NAND framework you can
> have a look at this branch [2].
> 
> Regards,
> 
> Boris
> 
> Change in v4:
> - add "mtd: mtdpart: Make ECC stat handling consistent" and
> - integrate "mtd: Remove duplicate checks on mtd_oob_ops parameter"
>   into this series
> - drop "mtd: Stop directly calling master ->_xxx() hooks from mtdpart
>   code"
> 
> Boris Brezillon (3):
>   mtd: mtdpart: Make ECC stat handling consistent
>   mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
>   mtd: Remove duplicate checks on mtd_oob_ops parameter
> 
>  drivers/mtd/devices/docg3.c        | 70 ------------------------------
>  drivers/mtd/mtdcore.c              | 31 +++++++++++++-
>  drivers/mtd/mtdpart.c              | 42 +++++-------------
>  drivers/mtd/nand/nand_base.c       | 87 --------------------------------------
>  drivers/mtd/onenand/onenand_base.c | 81 -----------------------------------
>  5 files changed, 40 insertions(+), 271 deletions(-)
>
Ladislav Michl Jan. 8, 2018, 9:48 p.m. UTC | #2
On Mon, Jan 08, 2018 at 10:15:39PM +0100, Boris Brezillon wrote:
> Hello,
> 
> Here is a set of patches preparing the introduction of the generic
> NAND and SPI frameworks.

Tested on IGEPv2 Rev. B (TI OMAP3530) with Muxed OneNAND(DDP) 512MB 1.8V
16-bit (0x58) after fixing PATCH v4 1/3.

Tested-by: Ladislav Michl <ladis@linux-mips.org>

> If you want to see the overall picture of the SPI NAND framework you can
> have a look at this branch [2].
> 
> Regards,
> 
> Boris
> 
> Change in v4:
> - add "mtd: mtdpart: Make ECC stat handling consistent" and
> - integrate "mtd: Remove duplicate checks on mtd_oob_ops parameter"
>   into this series
> - drop "mtd: Stop directly calling master ->_xxx() hooks from mtdpart
>   code"
> 
> Boris Brezillon (3):
>   mtd: mtdpart: Make ECC stat handling consistent
>   mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
>   mtd: Remove duplicate checks on mtd_oob_ops parameter
> 
>  drivers/mtd/devices/docg3.c        | 70 ------------------------------
>  drivers/mtd/mtdcore.c              | 31 +++++++++++++-
>  drivers/mtd/mtdpart.c              | 42 +++++-------------
>  drivers/mtd/nand/nand_base.c       | 87 --------------------------------------
>  drivers/mtd/onenand/onenand_base.c | 81 -----------------------------------
>  5 files changed, 40 insertions(+), 271 deletions(-)
> 
> -- 
> 2.11.0