linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Introduce generic ONFI support
@ 2019-03-26 10:51 Shivamurthy Shastri (sshivamurthy)
  0 siblings, 0 replies; only message in thread
From: Shivamurthy Shastri (sshivamurthy) @ 2019-03-26 10:51 UTC (permalink / raw)
  To: Boris Brezillon, Miquel Raynal, linux-mtd, linux-kernel
  Cc: Richard Weinberger, David Woodhouse, Brian Norris, Marek Vasut

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-26 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26 10:51 [PATCH 0/4] Introduce generic ONFI support Shivamurthy Shastri (sshivamurthy)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).