summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/ingenic/Kconfig
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2019-03-19 15:54:00 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-04-08 10:21:05 +0200
commita0ac778eb82c43b74d50cb0e31815bf5f24b295c (patch)
treea418c05d5ff518f9a18aa44f8424848e5271292d /drivers/mtd/nand/raw/ingenic/Kconfig
parentf838154add45b94c553b96f302c181d32aa3440d (diff)
mtd: rawnand: ingenic: Add support for the JZ4740
Add support for probing the ingenic-nand driver on the JZ4740 SoC from Ingenic, and the jz4740-ecc driver to support the JZ4740-specific ECC hardware. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/ingenic/Kconfig')
-rw-r--r--drivers/mtd/nand/raw/ingenic/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/ingenic/Kconfig b/drivers/mtd/nand/raw/ingenic/Kconfig
index 4bf7d7af3b0a..cc663cc15119 100644
--- a/drivers/mtd/nand/raw/ingenic/Kconfig
+++ b/drivers/mtd/nand/raw/ingenic/Kconfig
@@ -17,6 +17,16 @@ if MTD_NAND_JZ4780
config MTD_NAND_INGENIC_ECC
tristate
+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_JZ4780_BCH
tristate "Hardware BCH support for JZ4780 SoC"
select MTD_NAND_INGENIC_ECC