]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
1838a7b3 | 2 | config MTD_NAND_JZ4740 |
e787be1f | 3 | tristate "JZ4740 NAND controller" |
1838a7b3 PC |
4 | depends on MACH_JZ4740 || COMPILE_TEST |
5 | depends on HAS_IOMEM | |
6 | help | |
7 | Enables support for NAND Flash on JZ4740 SoC based boards. | |
8 | ||
9 | config MTD_NAND_JZ4780 | |
e787be1f | 10 | tristate "JZ4780 NAND controller" |
1838a7b3 PC |
11 | depends on JZ4780_NEMC |
12 | help | |
13 | Enables support for NAND Flash connected to the NEMC on JZ4780 SoC | |
14 | based boards, using the BCH controller for hardware error correction. | |
15de8c6e PC |
15 | |
16 | if MTD_NAND_JZ4780 | |
17 | ||
18 | config MTD_NAND_INGENIC_ECC | |
19 | tristate | |
20 | ||
a0ac778e PC |
21 | config MTD_NAND_JZ4740_ECC |
22 | tristate "Hardware BCH support for JZ4740 SoC" | |
23 | select MTD_NAND_INGENIC_ECC | |
24 | help | |
25 | Enable this driver to support the Reed-Solomon error-correction | |
26 | hardware present on the JZ4740 SoC from Ingenic. | |
27 | ||
28 | This driver can also be built as a module. If so, the module | |
29 | will be called jz4740-ecc. | |
30 | ||
3e6ac2ad PC |
31 | config MTD_NAND_JZ4725B_BCH |
32 | tristate "Hardware BCH support for JZ4725B SoC" | |
33 | select MTD_NAND_INGENIC_ECC | |
34 | help | |
35 | Enable this driver to support the BCH error-correction hardware | |
36 | present on the JZ4725B SoC from Ingenic. | |
37 | ||
38 | This driver can also be built as a module. If so, the module | |
39 | will be called jz4725b-bch. | |
40 | ||
15de8c6e PC |
41 | config MTD_NAND_JZ4780_BCH |
42 | tristate "Hardware BCH support for JZ4780 SoC" | |
43 | select MTD_NAND_INGENIC_ECC | |
44 | help | |
45 | Enable this driver to support the BCH error-correction hardware | |
46 | present on the JZ4780 SoC from Ingenic. | |
47 | ||
48 | This driver can also be built as a module. If so, the module | |
49 | will be called jz4780-bch. | |
50 | ||
51 | endif # MTD_NAND_JZ4780 |