fixup machid workaround, generate uImage manually
[openwrt.git] / target / linux / amazon / patches / 160-cfi-swap.patch
1 Index: linux-2.6.21.7/drivers/mtd/chips/cfi_cmdset_0002.c
2 ===================================================================
3 --- linux-2.6.21.7.orig/drivers/mtd/chips/cfi_cmdset_0002.c
4 +++ linux-2.6.21.7/drivers/mtd/chips/cfi_cmdset_0002.c
5 @@ -1007,7 +1007,9 @@ static int __xipram do_write_oneword(str
6 int ret = 0;
7 map_word oldd;
8 int retry_cnt = 0;
9 -
10 +#ifdef CONFIG_AMAZON
11 + adr ^= 2;
12 +#endif
13 adr += chip->start;
14
15 spin_lock(chip->mutex);
This page took 0.036994 seconds and 5 git commands to generate.