From: Gabor Juhos Date: Thu, 19 Sep 2013 18:43:43 +0000 (+0000) Subject: ar71xx: wndr4300: enable HW ECC mode for the NAND controller X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9200807877b006ffc650060d999723418643a3e4;p=openwrt%2Fstaging%2Fdangole.git ar71xx: wndr4300: enable HW ECC mode for the NAND controller Signed-off-by: Gabor Juhos SVN-Revision: 38071 --- diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c index 715fb064fe..0ecedff115 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c @@ -14,6 +14,9 @@ #include #include #include +#include +#include +#include #include @@ -171,6 +174,7 @@ static void __init wndr4300_setup(void) ath79_eth0_pll_data.pll_1000 = 0x06000000; ath79_register_eth(0); + ath79_nfc_set_ecc_mode(AR934X_NFC_ECC_HW); ath79_register_nfc(); ath79_register_usb();