Changeset 38071


Ignore:
Timestamp:
2013-09-19T20:43:43+02:00 (4 years ago)
Author:
juhosg
Message:

ar71xx: wndr4300: enable HW ECC mode for the NAND controller

Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c

    r34846 r38071  
    1515#include <linux/ath9k_platform.h> 
    1616#include <linux/ar8216_platform.h> 
     17#include <linux/mtd/mtd.h> 
     18#include <linux/mtd/nand.h> 
     19#include <linux/platform/ar934x_nfc.h> 
    1720 
    1821#include <asm/mach-ath79/ar71xx_regs.h> 
     
    172175        ath79_register_eth(0); 
    173176 
     177        ath79_nfc_set_ecc_mode(AR934X_NFC_ECC_HW); 
    174178        ath79_register_nfc(); 
    175179        ath79_register_usb(); 
Note: See TracChangeset for help on using the changeset viewer.