2008-05-19 11:46:35 +03:00
|
|
|
Index: linux-2.6.25.4/drivers/mtd/chips/cfi_cmdset_0002.c
|
2007-12-21 00:29:45 +02:00
|
|
|
===================================================================
|
2008-05-19 11:46:35 +03:00
|
|
|
--- linux-2.6.25.4.orig/drivers/mtd/chips/cfi_cmdset_0002.c
|
|
|
|
+++ linux-2.6.25.4/drivers/mtd/chips/cfi_cmdset_0002.c
|
|
|
|
@@ -1015,7 +1015,9 @@ static int __xipram do_write_oneword(str
|
2007-12-21 00:29:45 +02:00
|
|
|
int retry_cnt = 0;
|
2008-05-08 10:18:51 +03:00
|
|
|
|
|
|
|
adr += chip->start;
|
2007-12-21 00:29:45 +02:00
|
|
|
-
|
2007-12-22 02:17:22 +02:00
|
|
|
+#ifdef CONFIG_IFXMIPS
|
2007-12-21 00:29:45 +02:00
|
|
|
+ adr ^= 2;
|
|
|
|
+#endif
|
|
|
|
spin_lock(chip->mutex);
|
2008-05-08 10:18:51 +03:00
|
|
|
ret = get_chip(map, chip, adr, FL_WRITING);
|
|
|
|
if (ret) {
|