aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ar71xx/modules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ar71xx/modules.mk b/target/linux/ar71xx/modules.mk
index 83747d6ce2..4530708de9 100644
--- a/target/linux/ar71xx/modules.mk
+++ b/target/linux/ar71xx/modules.mk
@@ -40,7 +40,9 @@ $(eval $(call KernelPackage,leds-wndr3700-usb))
define KernelPackage/nand-ar934x
SUBMENU:=$(OTHER_MENU)
TITLE:=Atheros AR934x NAND flash controller driver
- KCONFIG:=CONFIG_MTD_NAND_AR934X
+ KCONFIG:=\
+ CONFIG_MTD_NAND_AR934X \
+ CONFIG_MTD_NAND_AR934X_HW_ECC=y
DEPENDS:=@TARGET_ar71xx +kmod-nand
FILES:=$(LINUX_DIR)/drivers/mtd/nand/ar934x_nfc.ko
AUTOLOAD:=$(call AutoLoad,25,ar934x_nfc)