Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config MTD_NAND_JZ4780
|
|
tristate "JZ4780 NAND controller"
|
|
depends on MIPS || COMPILE_TEST
|
|
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.
|
|
|
|
if MTD_NAND_JZ4780
|
|
|
|
config MTD_NAND_INGENIC_ECC
|
|
bool
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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
|