Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
config CONFIG_MTD_NAND_JZ4780
	tristate "JZ4780 NAND controller"
	depends on CONFIG_JZ4780_NEMC
	help
	  Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
	  based boards, using the CONFIG_BCH controller for hardware error correction.

if CONFIG_MTD_NAND_JZ4780

config CONFIG_MTD_NAND_INGENIC_ECC
	bool

config CONFIG_MTD_NAND_JZ4740_ECC
	tristate "Hardware BCH support for JZ4740 SoC"
	select CONFIG_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 CONFIG_MTD_NAND_JZ4725B_BCH
	tristate "Hardware BCH support for JZ4725B SoC"
	select CONFIG_MTD_NAND_INGENIC_ECC
	help
	  Enable this driver to support the CONFIG_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 CONFIG_MTD_NAND_JZ4780_BCH
	tristate "Hardware BCH support for JZ4780 SoC"
	select CONFIG_MTD_NAND_INGENIC_ECC
	help
	  Enable this driver to support the CONFIG_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 # CONFIG_MTD_NAND_JZ4780