Kconfig 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config MTD_NAND_JZ4780
  3. tristate "JZ4780 NAND controller"
  4. depends on MIPS || COMPILE_TEST
  5. depends on JZ4780_NEMC
  6. help
  7. Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
  8. based boards, using the BCH controller for hardware error correction.
  9. if MTD_NAND_JZ4780
  10. config MTD_NAND_INGENIC_ECC
  11. bool
  12. config MTD_NAND_JZ4740_ECC
  13. tristate "Hardware BCH support for JZ4740 SoC"
  14. select MTD_NAND_INGENIC_ECC
  15. help
  16. Enable this driver to support the Reed-Solomon error-correction
  17. hardware present on the JZ4740 SoC from Ingenic.
  18. This driver can also be built as a module. If so, the module
  19. will be called jz4740-ecc.
  20. config MTD_NAND_JZ4725B_BCH
  21. tristate "Hardware BCH support for JZ4725B SoC"
  22. select MTD_NAND_INGENIC_ECC
  23. help
  24. Enable this driver to support the BCH error-correction hardware
  25. present on the JZ4725B SoC from Ingenic.
  26. This driver can also be built as a module. If so, the module
  27. will be called jz4725b-bch.
  28. config MTD_NAND_JZ4780_BCH
  29. tristate "Hardware BCH support for JZ4780 SoC"
  30. select MTD_NAND_INGENIC_ECC
  31. help
  32. Enable this driver to support the BCH error-correction hardware
  33. present on the JZ4780 SoC from Ingenic.
  34. This driver can also be built as a module. If so, the module
  35. will be called jz4780-bch.
  36. endif # MTD_NAND_JZ4780