summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/spi/Kconfig
diff options
context:
space:
mode:
authorPeter Pan <peterpandong@micron.com>2018-06-22 14:28:23 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-18 09:24:10 +0200
commit7529df4652482c33ae1a99ee8189401146f13cb7 (patch)
tree59b956d4aff419fa891dfc921f1e09e4b896f8a7 /drivers/mtd/nand/spi/Kconfig
parentmtd: rawnand: provide only single helper function for ECC conf (diff)
downloadlinux-7529df4652482c33ae1a99ee8189401146f13cb7.tar.xz
linux-7529df4652482c33ae1a99ee8189401146f13cb7.zip
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>
Diffstat (limited to 'drivers/mtd/nand/spi/Kconfig')
-rw-r--r--drivers/mtd/nand/spi/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mtd/nand/spi/Kconfig b/drivers/mtd/nand/spi/Kconfig
new file mode 100644
index 000000000000..7c37d2929b68
--- /dev/null
+++ b/drivers/mtd/nand/spi/Kconfig
@@ -0,0 +1,7 @@
+menuconfig MTD_SPI_NAND
+ tristate "SPI NAND device Support"
+ select MTD_NAND_CORE
+ depends on SPI_MASTER
+ select SPI_MEM
+ help
+ This is the framework for the SPI NAND device drivers.