1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only 2*4882a593Smuzhiyunconfig MTD_NAND_JZ4780 3*4882a593Smuzhiyun tristate "JZ4780 NAND controller" 4*4882a593Smuzhiyun depends on MIPS || COMPILE_TEST 5*4882a593Smuzhiyun depends on JZ4780_NEMC 6*4882a593Smuzhiyun help 7*4882a593Smuzhiyun Enables support for NAND Flash connected to the NEMC on JZ4780 SoC 8*4882a593Smuzhiyun based boards, using the BCH controller for hardware error correction. 9*4882a593Smuzhiyun 10*4882a593Smuzhiyunif MTD_NAND_JZ4780 11*4882a593Smuzhiyun 12*4882a593Smuzhiyunconfig MTD_NAND_INGENIC_ECC 13*4882a593Smuzhiyun bool 14*4882a593Smuzhiyun 15*4882a593Smuzhiyunconfig MTD_NAND_JZ4740_ECC 16*4882a593Smuzhiyun tristate "Hardware BCH support for JZ4740 SoC" 17*4882a593Smuzhiyun select MTD_NAND_INGENIC_ECC 18*4882a593Smuzhiyun help 19*4882a593Smuzhiyun Enable this driver to support the Reed-Solomon error-correction 20*4882a593Smuzhiyun hardware present on the JZ4740 SoC from Ingenic. 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun This driver can also be built as a module. If so, the module 23*4882a593Smuzhiyun will be called jz4740-ecc. 24*4882a593Smuzhiyun 25*4882a593Smuzhiyunconfig MTD_NAND_JZ4725B_BCH 26*4882a593Smuzhiyun tristate "Hardware BCH support for JZ4725B SoC" 27*4882a593Smuzhiyun select MTD_NAND_INGENIC_ECC 28*4882a593Smuzhiyun help 29*4882a593Smuzhiyun Enable this driver to support the BCH error-correction hardware 30*4882a593Smuzhiyun present on the JZ4725B SoC from Ingenic. 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun This driver can also be built as a module. If so, the module 33*4882a593Smuzhiyun will be called jz4725b-bch. 34*4882a593Smuzhiyun 35*4882a593Smuzhiyunconfig MTD_NAND_JZ4780_BCH 36*4882a593Smuzhiyun tristate "Hardware BCH support for JZ4780 SoC" 37*4882a593Smuzhiyun select MTD_NAND_INGENIC_ECC 38*4882a593Smuzhiyun help 39*4882a593Smuzhiyun Enable this driver to support the BCH error-correction hardware 40*4882a593Smuzhiyun present on the JZ4780 SoC from Ingenic. 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun This driver can also be built as a module. If so, the module 43*4882a593Smuzhiyun will be called jz4780-bch. 44*4882a593Smuzhiyun 45*4882a593Smuzhiyunendif # MTD_NAND_JZ4780 46