2019-05-19 13:07:45 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2019-03-19 15:53:54 +01:00
|
|
|
config MTD_NAND_JZ4780
|
2019-02-06 16:29:14 +01:00
|
|
|
tristate "JZ4780 NAND controller"
|
2020-03-02 15:45:09 -03:00
|
|
|
depends on MIPS || COMPILE_TEST
|
2019-03-19 15:53:54 +01:00
|
|
|
depends on JZ4780_NEMC
|
|
|
|
|
help
|
|
|
|
|
Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
|
|
|
|
|
based boards, using the BCH controller for hardware error correction.
|
2019-03-19 15:53:58 +01:00
|
|
|
|
|
|
|
|
if MTD_NAND_JZ4780
|
|
|
|
|
|
|
|
|
|
config MTD_NAND_INGENIC_ECC
|
2019-06-29 03:22:48 +02:00
|
|
|
bool
|
2019-03-19 15:53:58 +01:00
|
|
|
|
2019-03-19 15:54:00 +01:00
|
|
|
config MTD_NAND_JZ4740_ECC
|
|
|
|
|
tristate "Hardware BCH support for JZ4740 SoC"
|
|
|
|
|
select MTD_NAND_INGENIC_ECC
|
|
|
|
|
help
|
|
|
|
|
Enable this driver to support the Reed-Solomon error-correction
|
|
|
|
|
hardware present on the JZ4740 SoC from Ingenic.
|
|
|
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
|
will be called jz4740-ecc.
|
|
|
|
|
|
2019-03-19 15:54:01 +01:00
|
|
|
config MTD_NAND_JZ4725B_BCH
|
|
|
|
|
tristate "Hardware BCH support for JZ4725B SoC"
|
|
|
|
|
select MTD_NAND_INGENIC_ECC
|
|
|
|
|
help
|
|
|
|
|
Enable this driver to support the BCH error-correction hardware
|
|
|
|
|
present on the JZ4725B SoC from Ingenic.
|
|
|
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
|
will be called jz4725b-bch.
|
|
|
|
|
|
2019-03-19 15:53:58 +01:00
|
|
|
config MTD_NAND_JZ4780_BCH
|
|
|
|
|
tristate "Hardware BCH support for JZ4780 SoC"
|
|
|
|
|
select MTD_NAND_INGENIC_ECC
|
|
|
|
|
help
|
|
|
|
|
Enable this driver to support the BCH error-correction hardware
|
|
|
|
|
present on the JZ4780 SoC from Ingenic.
|
|
|
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
|
will be called jz4780-bch.
|
|
|
|
|
|
|
|
|
|
endif # MTD_NAND_JZ4780
|