1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21838a7b3SPaul Cercueilconfig MTD_NAND_JZ4780 3e787be1fSMiquel Raynal tristate "JZ4780 NAND controller" 4*e015d72fSPaul Cercueil depends on MIPS || COMPILE_TEST 51838a7b3SPaul Cercueil depends on JZ4780_NEMC 61838a7b3SPaul Cercueil help 71838a7b3SPaul Cercueil Enables support for NAND Flash connected to the NEMC on JZ4780 SoC 81838a7b3SPaul Cercueil based boards, using the BCH controller for hardware error correction. 915de8c6eSPaul Cercueil 1015de8c6eSPaul Cercueilif MTD_NAND_JZ4780 1115de8c6eSPaul Cercueil 1215de8c6eSPaul Cercueilconfig MTD_NAND_INGENIC_ECC 13c403ec33SPaul Cercueil bool 1415de8c6eSPaul Cercueil 15a0ac778eSPaul Cercueilconfig MTD_NAND_JZ4740_ECC 16a0ac778eSPaul Cercueil tristate "Hardware BCH support for JZ4740 SoC" 17a0ac778eSPaul Cercueil select MTD_NAND_INGENIC_ECC 18a0ac778eSPaul Cercueil help 19a0ac778eSPaul Cercueil Enable this driver to support the Reed-Solomon error-correction 20a0ac778eSPaul Cercueil hardware present on the JZ4740 SoC from Ingenic. 21a0ac778eSPaul Cercueil 22a0ac778eSPaul Cercueil This driver can also be built as a module. If so, the module 23a0ac778eSPaul Cercueil will be called jz4740-ecc. 24a0ac778eSPaul Cercueil 253e6ac2adSPaul Cercueilconfig MTD_NAND_JZ4725B_BCH 263e6ac2adSPaul Cercueil tristate "Hardware BCH support for JZ4725B SoC" 273e6ac2adSPaul Cercueil select MTD_NAND_INGENIC_ECC 283e6ac2adSPaul Cercueil help 293e6ac2adSPaul Cercueil Enable this driver to support the BCH error-correction hardware 303e6ac2adSPaul Cercueil present on the JZ4725B SoC from Ingenic. 313e6ac2adSPaul Cercueil 323e6ac2adSPaul Cercueil This driver can also be built as a module. If so, the module 333e6ac2adSPaul Cercueil will be called jz4725b-bch. 343e6ac2adSPaul Cercueil 3515de8c6eSPaul Cercueilconfig MTD_NAND_JZ4780_BCH 3615de8c6eSPaul Cercueil tristate "Hardware BCH support for JZ4780 SoC" 3715de8c6eSPaul Cercueil select MTD_NAND_INGENIC_ECC 3815de8c6eSPaul Cercueil help 3915de8c6eSPaul Cercueil Enable this driver to support the BCH error-correction hardware 4015de8c6eSPaul Cercueil present on the JZ4780 SoC from Ingenic. 4115de8c6eSPaul Cercueil 4215de8c6eSPaul Cercueil This driver can also be built as a module. If so, the module 4315de8c6eSPaul Cercueil will be called jz4780-bch. 4415de8c6eSPaul Cercueil 4515de8c6eSPaul Cercueilendif # MTD_NAND_JZ4780 46