upgrade iop32x to 2.6.30
[openwrt.git] / target / linux / ifxmips / patches-2.6.30 / 300-cfi-swap.patch
1 Index: linux-2.6.30.5/drivers/mtd/chips/cfi_cmdset_0002.c
2 ===================================================================
3 --- linux-2.6.30.5.orig/drivers/mtd/chips/cfi_cmdset_0002.c 2009-09-02 18:22:49.000000000 +0200
4 +++ linux-2.6.30.5/drivers/mtd/chips/cfi_cmdset_0002.c 2009-09-02 18:31:31.000000000 +0200
5 @@ -1090,7 +1090,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) {
This page took 0.046157 seconds and 5 git commands to generate.