add preliminary support for the successor of the storm port
[openwrt.git] / target / linux / amazon / patches / 160-cfi-swap.patch
1 --- a/drivers/mtd/chips/cfi_cmdset_0002.c
2 +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
3 @@ -1007,7 +1007,9 @@ static int __xipram do_write_oneword(str
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);
This page took 0.050647 seconds and 5 git commands to generate.