public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Introduce generic ONFI support
@ 2019-03-26 10:51 Shivamurthy Shastri (sshivamurthy)
  2019-04-08 11:48 ` Shivamurthy Shastri (sshivamurthy)
  0 siblings, 1 reply; 3+ messages in thread
From: Shivamurthy Shastri (sshivamurthy) @ 2019-03-26 10:51 UTC (permalink / raw)
  To: Boris Brezillon, Miquel Raynal, linux-mtd@lists.infradead.org,
	linux-kernel@vger.kernel.org
  Cc: Richard Weinberger, Brian Norris, David Woodhouse, 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


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-08 12:10 UTC | newest]

Thread overview: 3+ messages (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)
2019-04-08 11:48 ` Shivamurthy Shastri (sshivamurthy)
2019-04-08 12:10   ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox