7cfc77021154b509b148e53d99942bd4d9ec28a1
[linux-2.6-block.git] / drivers / mtd / nand / raw / ingenic / Kconfig
1 config 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
8 config 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
15 if MTD_NAND_JZ4780
16
17 config MTD_NAND_INGENIC_ECC
18         tristate
19
20 config 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
30 config 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
40 config 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
50 endif # MTD_NAND_JZ4780