2008-06-17 12:57:04 +00:00
|
|
|
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
|
|
|
|
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
|
2008-09-26 18:46:53 +00:00
|
|
|
@@ -1041,7 +1041,9 @@
|
2007-12-20 22:29:45 +00:00
|
|
|
int retry_cnt = 0;
|
2008-05-08 07:18:51 +00:00
|
|
|
|
|
|
|
adr += chip->start;
|
2007-12-20 22:29:45 +00:00
|
|
|
-
|
2007-12-22 00:17:22 +00:00
|
|
|
+#ifdef CONFIG_IFXMIPS
|
2007-12-20 22:29:45 +00:00
|
|
|
+ adr ^= 2;
|
|
|
|
+#endif
|
|
|
|
spin_lock(chip->mutex);
|
2008-05-08 07:18:51 +00:00
|
|
|
ret = get_chip(map, chip, adr, FL_WRITING);
|
|
|
|
if (ret) {
|