[PATCH 0/4] Introduce generic ONFI support

Miquel Raynal miquel.raynal at bootlin.com
Mon Apr 8 05:10:23 PDT 2019


Hi Shivamurthy,

"Shivamurthy Shastri (sshivamurthy)" <sshivamurthy at micron.com> wrote on
Mon, 8 Apr 2019 11:48:08 +0000:

> Hi,
> 
> Just a gentle reminder that I'd like some feedback on these patches.

Yes, this is definitely in my queue.

> 
> Thanks,
> Shiva
> 
> > Subject: [PATCH 0/4] Introduce generic ONFI support
> > 
> > Current support to ONFI parameter page is only for raw NAND, this patch
> > series turn ONFI support into generic. So that, other NAND devices like SPI
> > NAND can use this.
> > 
> > Support to detect parameter page is enabled in SPI NAND core.
> > 
> > Turned Micron SPI NAND driver to use parameter page.
> > 
> > From SPI NAND side, this patch series is tested with Micron flashes
> > MT29F2G01ABXGD, MT29F4G01ABXFD, MT29F8G01ADXFD,
> > MT29F1G01ABXFD.
> > 
> > I created this patch series based on mtd/next + Miquel Raynal's new series of
> > patches, as I needed some of the changes done by him.
> > 
> > Shivamurthy Shastri (4):
> >   mtd: rawnand: Turn the ONFI support to generic
> >   mtd: nand: Move ONFI code into nand/ directory
> >   mtd: spinand: Enabled support to detect parameter page
> >   mtd: spinand: micron: Support for new Micron SPI NAND flashes
> > 
> >  drivers/mtd/nand/Makefile        |   2 +-
> >  drivers/mtd/nand/onfi.c          | 169 +++++++++++++++++
> >  drivers/mtd/nand/raw/Makefile    |   1 -
> >  drivers/mtd/nand/raw/internals.h |   6 +-
> >  drivers/mtd/nand/raw/nand_base.c | 236 +++++++++++++++++++++--
> >  drivers/mtd/nand/raw/nand_onfi.c | 312 -------------------------------
> >  drivers/mtd/nand/spi/core.c      | 113 ++++++++++-
> >  drivers/mtd/nand/spi/micron.c    | 109 ++++++++---
> >  include/linux/mtd/nand.h         |  30 +++
> >  include/linux/mtd/rawnand.h      |   5 +
> >  include/linux/mtd/spinand.h      |   5 +
> >  11 files changed, 620 insertions(+), 368 deletions(-)
> >  create mode 100644 drivers/mtd/nand/onfi.c
> >  delete mode 100644 drivers/mtd/nand/raw/nand_onfi.c
> > 
> > --
> > 2.17.1  
> 


Thanks,
Miquèl



More information about the linux-mtd mailing list