Changeset 16119


Ignore:
Timestamp:
2009-05-27T20:08:58+02:00 (7 years ago)
Author:
hauke
Message:

[amazon] Extends workaround for swapping problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/amazon/patches/160-cfi-swap.patch

    r14455 r16119  
    1212  
    1313        spin_lock(chip->mutex); 
     14@@ -1291,7 +1293,11 @@ static int __xipram do_write_buffer(stru 
     15        z = 0; 
     16        while(z < words * map_bankwidth(map)) { 
     17                datum = map_word_load(map, buf); 
     18+#ifdef CONFIG_AMAZON 
     19+               map_write(map, datum, (adr + z) ^ 0x2); 
     20+#else 
     21                map_write(map, datum, adr + z); 
     22+#endif 
     23  
     24                z += map_bankwidth(map); 
     25                buf += map_bankwidth(map); 
Note: See TracChangeset for help on using the changeset viewer.