2008-05-08 10:18:51 +03:00
|
|
|
Index: linux-2.6.25/drivers/mtd/chips/cfi_cmdset_0002.c
|
2007-12-21 00:29:45 +02:00
|
|
|
===================================================================
|
2008-05-08 10:18:51 +03:00
|
|
|
--- linux-2.6.25.orig/drivers/mtd/chips/cfi_cmdset_0002.c 2008-05-07 18:58:41.000000000 +0100
|
|
|
|
+++ linux-2.6.25/drivers/mtd/chips/cfi_cmdset_0002.c 2008-05-07 18:58:42.000000000 +0100
|
|
|
|
@@ -1015,7 +1015,9 @@
|
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) {
|
|
|
|
|