18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig MTD_NAND_JZ4780
38c2ecf20Sopenharmony_ci	tristate "JZ4780 NAND controller"
48c2ecf20Sopenharmony_ci	depends on MIPS || COMPILE_TEST
58c2ecf20Sopenharmony_ci	depends on JZ4780_NEMC
68c2ecf20Sopenharmony_ci	help
78c2ecf20Sopenharmony_ci	  Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
88c2ecf20Sopenharmony_ci	  based boards, using the BCH controller for hardware error correction.
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciif MTD_NAND_JZ4780
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciconfig MTD_NAND_INGENIC_ECC
138c2ecf20Sopenharmony_ci	bool
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciconfig MTD_NAND_JZ4740_ECC
168c2ecf20Sopenharmony_ci	tristate "Hardware BCH support for JZ4740 SoC"
178c2ecf20Sopenharmony_ci	select MTD_NAND_INGENIC_ECC
188c2ecf20Sopenharmony_ci	help
198c2ecf20Sopenharmony_ci	  Enable this driver to support the Reed-Solomon error-correction
208c2ecf20Sopenharmony_ci	  hardware present on the JZ4740 SoC from Ingenic.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module
238c2ecf20Sopenharmony_ci	  will be called jz4740-ecc.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig MTD_NAND_JZ4725B_BCH
268c2ecf20Sopenharmony_ci	tristate "Hardware BCH support for JZ4725B SoC"
278c2ecf20Sopenharmony_ci	select MTD_NAND_INGENIC_ECC
288c2ecf20Sopenharmony_ci	help
298c2ecf20Sopenharmony_ci	  Enable this driver to support the BCH error-correction hardware
308c2ecf20Sopenharmony_ci	  present on the JZ4725B SoC from Ingenic.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module
338c2ecf20Sopenharmony_ci	  will be called jz4725b-bch.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig MTD_NAND_JZ4780_BCH
368c2ecf20Sopenharmony_ci	tristate "Hardware BCH support for JZ4780 SoC"
378c2ecf20Sopenharmony_ci	select MTD_NAND_INGENIC_ECC
388c2ecf20Sopenharmony_ci	help
398c2ecf20Sopenharmony_ci	  Enable this driver to support the BCH error-correction hardware
408c2ecf20Sopenharmony_ci	  present on the JZ4780 SoC from Ingenic.
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module
438c2ecf20Sopenharmony_ci	  will be called jz4780-bch.
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciendif # MTD_NAND_JZ4780
46