1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "JZ4780 NAND controller"
6 Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
7 based boards, using the BCH controller for hardware error correction.
11 config MTD_NAND_INGENIC_ECC
14 config MTD_NAND_JZ4740_ECC
15 tristate "Hardware BCH support for JZ4740 SoC"
16 select MTD_NAND_INGENIC_ECC
18 Enable this driver to support the Reed-Solomon error-correction
19 hardware present on the JZ4740 SoC from Ingenic.
21 This driver can also be built as a module. If so, the module
22 will be called jz4740-ecc.
24 config MTD_NAND_JZ4725B_BCH
25 tristate "Hardware BCH support for JZ4725B SoC"
26 select MTD_NAND_INGENIC_ECC
28 Enable this driver to support the BCH error-correction hardware
29 present on the JZ4725B SoC from Ingenic.
31 This driver can also be built as a module. If so, the module
32 will be called jz4725b-bch.
34 config MTD_NAND_JZ4780_BCH
35 tristate "Hardware BCH support for JZ4780 SoC"
36 select MTD_NAND_INGENIC_ECC
38 Enable this driver to support the BCH error-correction hardware
39 present on the JZ4780 SoC from Ingenic.
41 This driver can also be built as a module. If so, the module
42 will be called jz4780-bch.
44 endif # MTD_NAND_JZ4780