revert to before ubnt images were made
[openwrt.git] / target / linux / ifxmips / patches / 160-cfi-swap.patch
1 Index: linux-2.6.25/drivers/mtd/chips/cfi_cmdset_0002.c
2 ===================================================================
3 --- linux-2.6.25.orig/drivers/mtd/chips/cfi_cmdset_0002.c 2008-05-07 18:58:41.000000000 +0100
4 +++ linux-2.6.25/drivers/mtd/chips/cfi_cmdset_0002.c 2008-05-07 18:58:42.000000000 +0100
5 @@ -1015,7 +1015,9 @@
6 int retry_cnt = 0;
7
8 adr += chip->start;
9 -
10 +#ifdef CONFIG_IFXMIPS
11 + adr ^= 2;
12 +#endif
13 spin_lock(chip->mutex);
14 ret = get_chip(map, chip, adr, FL_WRITING);
15 if (ret) {
16
This page took 0.042542 seconds and 5 git commands to generate.