1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "JZ4780 NAND controller"
4 depends on MIPS || COMPILE_TEST
7 Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
8 based boards, using the BCH controller for hardware error correction.
12 config MTD_NAND_INGENIC_ECC
15 config MTD_NAND_JZ4740_ECC
16 tristate "Hardware BCH support for JZ4740 SoC"
17 select MTD_NAND_INGENIC_ECC
19 Enable this driver to support the Reed-Solomon error-correction
20 hardware present on the JZ4740 SoC from Ingenic.
22 This driver can also be built as a module. If so, the module
23 will be called jz4740-ecc.
25 config MTD_NAND_JZ4725B_BCH
26 tristate "Hardware BCH support for JZ4725B SoC"
27 select MTD_NAND_INGENIC_ECC
29 Enable this driver to support the BCH error-correction hardware
30 present on the JZ4725B SoC from Ingenic.
32 This driver can also be built as a module. If so, the module
33 will be called jz4725b-bch.
35 config MTD_NAND_JZ4780_BCH
36 tristate "Hardware BCH support for JZ4780 SoC"
37 select MTD_NAND_INGENIC_ECC
39 Enable this driver to support the BCH error-correction hardware
40 present on the JZ4780 SoC from Ingenic.
42 This driver can also be built as a module. If so, the module
43 will be called jz4780-bch.
45 endif # MTD_NAND_JZ4780