Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config MTD_NAND_JZ4780
0003         tristate "JZ4780 NAND controller"
0004         depends on MIPS || COMPILE_TEST
0005         depends on JZ4780_NEMC
0006         help
0007           Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
0008           based boards, using the BCH controller for hardware error correction.
0009 
0010 if MTD_NAND_JZ4780
0011 
0012 config MTD_NAND_INGENIC_ECC
0013         bool
0014 
0015 config MTD_NAND_JZ4740_ECC
0016         tristate "Hardware BCH support for JZ4740 SoC"
0017         select MTD_NAND_INGENIC_ECC
0018         help
0019           Enable this driver to support the Reed-Solomon error-correction
0020           hardware present on the JZ4740 SoC from Ingenic.
0021 
0022           This driver can also be built as a module. If so, the module
0023           will be called jz4740-ecc.
0024 
0025 config MTD_NAND_JZ4725B_BCH
0026         tristate "Hardware BCH support for JZ4725B SoC"
0027         select MTD_NAND_INGENIC_ECC
0028         help
0029           Enable this driver to support the BCH error-correction hardware
0030           present on the JZ4725B SoC from Ingenic.
0031 
0032           This driver can also be built as a module. If so, the module
0033           will be called jz4725b-bch.
0034 
0035 config MTD_NAND_JZ4780_BCH
0036         tristate "Hardware BCH support for JZ4780 SoC"
0037         select MTD_NAND_INGENIC_ECC
0038         help
0039           Enable this driver to support the BCH error-correction hardware
0040           present on the JZ4780 SoC from Ingenic.
0041 
0042           This driver can also be built as a module. If so, the module
0043           will be called jz4780-bch.
0044 
0045 endif # MTD_NAND_JZ4780