mtd/drivers/mtd/nand nand.c,1.35,1.36
gleixner at infradead.org
gleixner at infradead.org
Thu Dec 5 15:59:14 EST 2002
Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv6796
Modified Files:
nand.c
Log Message:
Thanks god, I'm far away from these guys :)
Index: nand.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- nand.c 1 Dec 2002 13:23:05 -0000 1.35
+++ nand.c 5 Dec 2002 20:59:11 -0000 1.36
@@ -112,6 +112,9 @@
* for mtd->read_ecc / mtd->write_ecc
* some minor cleanups
*
+ * 12-05-2000 tglx: Dave Ellis (DGE at sixnetio) provided the fix for
+ * WRITE_VERIFY long time ago. Thanks for remembering me.
+ *
* $Id$
*
* This program is free software; you can redistribute it and/or modify
@@ -490,7 +493,7 @@
this->cmdfunc (mtd, NAND_CMD_READ0, col, page);
/* Loop through and verify the data */
for (i = col; i < last; i++) {
- if (this->data_buf[i] != readb (this->IO_ADDR_R)) {
+ if (this->data_poi[i] != readb (this->IO_ADDR_R)) {
DEBUG (MTD_DEBUG_LEVEL0, "%s: " "Failed write verify, page 0x%08x ", __FUNCTION__, page);
return -EIO;
}
More information about the linux-mtd-cvs
mailing list