source: trunk/target/linux/ifxmips/patches-2.6.30/310-cfi0002-swap.patch @ 20246

Last change on this file since 20246 was 20246, checked in by blogic, 7 years ago

ifxmips - adds cf0001 swizzel patch, by/signed off Veli-Matti Valtonen (maligor)

File size: 510 bytes
  • drivers/mtd/chips/cfi_cmdset_0002.c

    old new  
    10901090        int retry_cnt = 0; 
    10911091 
    10921092        adr += chip->start; 
    1093  
     1093#ifdef CONFIG_IFXMIPS 
     1094        adr ^= 2; 
     1095#endif 
    10941096        spin_lock(chip->mutex); 
    10951097        ret = get_chip(map, chip, adr, FL_WRITING); 
    10961098        if (ret) { 
Note: See TracBrowser for help on using the repository browser.