Changeset 38234


Ignore:
Timestamp:
2013-09-27T13:15:34+02:00 (4 years ago)
Author:
juhosg
Message:

ar71xx: ar934x-nfc: disable subpage write when hardware ECC is used

It is not supported by the controller.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c

    r38069 r38234  
    12821282        switch (nfc->mtd.writesize) { 
    12831283        case 2048: 
     1284                /* 
     1285                 * Writing a subpage separately is not supported, because 
     1286                 * the controller only does ECC on full-page accesses. 
     1287                 */ 
     1288                nand->options = NAND_NO_SUBPAGE_WRITE; 
     1289 
    12841290                nand->ecc.size = 512; 
    12851291                nand->ecc.bytes = 7; 
Note: See TracChangeset for help on using the changeset viewer.