projects
/
librecmc
/
librecmc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5c98c355259a48b5cfbc6e52386f097061b1452c
[librecmc/librecmc.git]
/
target
/
linux
/
ifxmips
/
patches
/
160-cfi-swap.patch
1
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
2
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
3
@@ -1041,7 +1041,9 @@ static int __xipram do_write_oneword(str
4
int retry_cnt = 0;
5
6
adr += chip->start;
7
-
8
+#ifdef CONFIG_IFXMIPS
9
+ adr ^= 2;
10
+#endif
11
spin_lock(chip->mutex);
12
ret = get_chip(map, chip, adr, FL_WRITING);
13
if (ret) {