Consolidated all the ixp4xx i2c gpio patches into a copy of the patch from nslu2...
[openwrt.git] / target / linux / amazon / patches / 160-cfi-swap.patch
1 --- linux-2.6.21.5/drivers/mtd/chips/cfi_cmdset_0002.c 2007-07-23 23:15:50.403369508 +0200
2 +++ linux-2.6.21.5.orig/drivers/mtd/chips/cfi_cmdset_0002.c 2007-07-23 23:26:43.028560499 +0200
3 @@ -1007,7 +1007,9 @@
4 int ret = 0;
5 map_word oldd;
6 int retry_cnt = 0;
7 -
8 +#ifdef CONFIG_AMAZON
9 + adr ^= 2;
10 +#endif
11 adr += chip->start;
12
13 spin_lock(chip->mutex);
14
This page took 0.038176 seconds and 5 git commands to generate.