[<prev] [next>] [day] [month] [year] [list]
Message-ID: <MN2PR08MB59510D880AD3E92A7D4C12CDB85F0@MN2PR08MB5951.namprd08.prod.outlook.com>
Date: Tue, 26 Mar 2019 10:51:44 +0000
From: "Shivamurthy Shastri (sshivamurthy)" <sshivamurthy@...ron.com>
To: Boris Brezillon <bbrezillon@...nel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: Richard Weinberger <richard@....at>,
David Woodhouse <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
"Marek Vasut" <marek.vasut@...il.com>
Subject: [PATCH 0/4] Introduce generic ONFI support
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
Powered by blists - more mailing lists