summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/ingenic/Kconfig
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2019-03-19 15:53:54 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-03-21 16:56:18 +0100
commit1838a7b31fcb634df771e1ae1beb9723de47f6bd (patch)
tree774bce80582049c7c6a94a4fc3c2a3ad5fe6f75a /drivers/mtd/nand/raw/ingenic/Kconfig
parentbadb37f1601de0642330125928104e2d19dcc8da (diff)
mtd: rawnand: Move drivers for Ingenic SoCs to subfolder
Before adding support for more SoCs and seeing the number of files for these drivers grow, we move them to their own subfolder to keep it tidy. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/ingenic/Kconfig')
-rw-r--r--drivers/mtd/nand/raw/ingenic/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/ingenic/Kconfig b/drivers/mtd/nand/raw/ingenic/Kconfig
new file mode 100644
index 000000000000..67806c87b2c4
--- /dev/null
+++ b/drivers/mtd/nand/raw/ingenic/Kconfig
@@ -0,0 +1,13 @@
+config MTD_NAND_JZ4740
+ tristate "Support for JZ4740 SoC NAND controller"
+ depends on MACH_JZ4740 || COMPILE_TEST
+ depends on HAS_IOMEM
+ help
+ Enables support for NAND Flash on JZ4740 SoC based boards.
+
+config MTD_NAND_JZ4780
+ tristate "Support for NAND on JZ4780 SoC"
+ depends on JZ4780_NEMC
+ help
+ Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
+ based boards, using the BCH controller for hardware error correction.