source: trunk/target/linux/ar71xx/patches-2.6.28/105-mtd_m25p80_add_mx25lxxx_support.patch @ 13838

Last change on this file since 13838 was 13838, checked in by juhosg, 7 years ago

[ar71xx] fix compiler warnings in the m25p80 driver on 2.6.28

File size: 537 bytes
  • drivers/mtd/devices/m25p80.c

    a b static struct flash_info __devinitdata m 
    506506        /* EON -- en25px */ 
    507507        { "en25p32", 0x1c2016, 0, 64 * 1024, 64, }, 
    508508 
     509        /* Macronix -- mx25lxxx */ 
     510        { "mx25l32",  0xc22016, 0, 64 * 1024,  64, }, 
     511        { "mx25l64",  0xc22017, 0, 64 * 1024, 128, }, 
     512        { "mx25l128", 0xc22018, 0, 64 * 1024, 256, }, 
     513 
    509514        /* PMC -- pm25x "blocks" are 32K, sectors are 4K */ 
    510515        { "pm25lv512",         0, 32 * 1024, 2, SECT_4K }, 
    511516        { "pm25lv010",         0, 32 * 1024, 4, SECT_4K }, 
Note: See TracBrowser for help on using the repository browser.