linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Support parameter page and Redesign Micron SPI NAND
@ 2019-02-04 11:17 Shivamurthy Shastri (sshivamurthy)
  0 siblings, 0 replies; only message in thread
From: Shivamurthy Shastri (sshivamurthy) @ 2019-02-04 11:17 UTC (permalink / raw)
  To: Boris Brezillon, Miquel Raynal, linux-mtd, linux-kernel
  Cc: Chuanhong Guo, Richard Weinberger, Schrempf Frieder, Marek Vasut,
	Frieder Schrempf, Brian Norris, David Woodhouse,
	Bean Huo (beanhuo)

Parameter page is supported by some of the manufacturers and instead of
maintaining spinand_info structure for each flash it is better to use
the parameter page to get the flash info. As I have seen the different
datasheets, command required to access parameter page is same across the
manufacturers.

Micron SPI NAND flashes support parameter page, instead of adding 8
devices I thought it is better to re-design the code using parameter
page.

Shivamurthy Shastri (2):
  mtd: spinand: Add function to read parameter page
  mtd: spinand: micron: Support for all Micron SPI NAND flashes

 drivers/mtd/nand/spi/core.c   |  62 ++++++++++++
 drivers/mtd/nand/spi/micron.c | 172 +++++++++++++++++++++++++++-------
 drivers/mtd/nand/spi/micron.h |  83 ++++++++++++++++
 include/linux/mtd/spinand.h   |   3 +
 4 files changed, 286 insertions(+), 34 deletions(-)
 create mode 100644 drivers/mtd/nand/spi/micron.h

-- 
2.17.1

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

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

only message in thread, other threads:[~2019-02-04 11:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-04 11:17 [PATCH 0/2] Support parameter page and Redesign Micron SPI NAND 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).