upgrade iop32x to 2.6.24
[openwrt.git] / target / linux / ifxmips / patches / 160-cfi-swap.patch
1 Index: linux-2.6.23/drivers/mtd/chips/cfi_cmdset_0002.c
2 ===================================================================
3 --- linux-2.6.23.orig/drivers/mtd/chips/cfi_cmdset_0002.c 2007-11-02 23:02:29.000000000 +0100
4 +++ linux-2.6.23/drivers/mtd/chips/cfi_cmdset_0002.c 2007-11-02 23:07:15.000000000 +0100
5 @@ -1007,7 +1007,9 @@
6 int ret = 0;
7 map_word oldd;
8 int retry_cnt = 0;
9 -
10 +#ifdef CONFIG_IFXMIPS
11 + adr ^= 2;
12 +#endif
13 adr += chip->start;
14
15 spin_lock(chip->mutex);
This page took 0.040959 seconds and 5 git commands to generate.