xref: /openbmc/linux/drivers/mtd/nand/raw/ingenic/Kconfig (revision 1fa0a7dc)
1config MTD_NAND_JZ4740
2	tristate "JZ4740 NAND controller"
3	depends on MACH_JZ4740 || COMPILE_TEST
4	depends on HAS_IOMEM
5	help
6	  Enables support for NAND Flash on JZ4740 SoC based boards.
7
8config MTD_NAND_JZ4780
9	tristate "JZ4780 NAND controller"
10	depends on JZ4780_NEMC
11	help
12	  Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
13	  based boards, using the BCH controller for hardware error correction.
14
15if MTD_NAND_JZ4780
16
17config MTD_NAND_INGENIC_ECC
18	tristate
19
20config MTD_NAND_JZ4740_ECC
21	tristate "Hardware BCH support for JZ4740 SoC"
22	select MTD_NAND_INGENIC_ECC
23	help
24	  Enable this driver to support the Reed-Solomon error-correction
25	  hardware present on the JZ4740 SoC from Ingenic.
26
27	  This driver can also be built as a module. If so, the module
28	  will be called jz4740-ecc.
29
30config MTD_NAND_JZ4725B_BCH
31	tristate "Hardware BCH support for JZ4725B SoC"
32	select MTD_NAND_INGENIC_ECC
33	help
34	  Enable this driver to support the BCH error-correction hardware
35	  present on the JZ4725B SoC from Ingenic.
36
37	  This driver can also be built as a module. If so, the module
38	  will be called jz4725b-bch.
39
40config MTD_NAND_JZ4780_BCH
41	tristate "Hardware BCH support for JZ4780 SoC"
42	select MTD_NAND_INGENIC_ECC
43	help
44	  Enable this driver to support the BCH error-correction hardware
45	  present on the JZ4780 SoC from Ingenic.
46
47	  This driver can also be built as a module. If so, the module
48	  will be called jz4780-bch.
49
50endif # MTD_NAND_JZ4780
51