OSDN Git Service

mtd: nand: Add core infrastructure to support SPI NANDs
authorPeter Pan <peterpandong@micron.com>
Fri, 22 Jun 2018 12:28:23 +0000 (14:28 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:24:10 +0000 (09:24 +0200)
commit7529df4652482c33ae1a99ee8189401146f13cb7
tree59b956d4aff419fa891dfc921f1e09e4b896f8a7
parent0cf5c7dbaa392d11cfae532cedeaad0ac48b2165
mtd: nand: Add core infrastructure to support SPI NANDs

Add a SPI NAND framework based on the generic NAND framework and the
spi-mem infrastructure.

In its current state, this framework supports the following features:

- single/dual/quad IO modes
- on-die ECC

Signed-off-by: Peter Pan <peterpandong@micron.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/Makefile
drivers/mtd/nand/spi/Kconfig [new file with mode: 0644]
drivers/mtd/nand/spi/Makefile [new file with mode: 0644]
drivers/mtd/nand/spi/core.c [new file with mode: 0644]
include/linux/mtd/spinand.h [new file with mode: 0644]
include/linux/spi/spi-mem.h