[PATCH 0/2] Support parameter page and Redesign Micron SPI NAND

From: Shivamurthy Shastri (sshivamurthy)
Date: Mon Feb 04 2019 - 06:29:11 EST


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