summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/ingenic/Kconfig
blob: 4bf7d7af3b0a08d4711a3e3ad8d4d2fc7557e44f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
config MTD_NAND_JZ4740
	tristate "Support for JZ4740 SoC NAND controller"
	depends on MACH_JZ4740 || COMPILE_TEST
	depends on HAS_IOMEM
	help
	  Enables support for NAND Flash on JZ4740 SoC based boards.

config MTD_NAND_JZ4780
	tristate "Support for NAND on JZ4780 SoC"
	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
	tristate

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