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/