mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.131,1.132

Thayne Harbaugh tharbaugh at lnxi.com
Tue Nov 4 14:34:25 EST 2003


Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv19410

Modified Files:
	cfi_cmdset_0001.c 
Log Message:
Revert NOP change of r1.130 -> r1.131.
Sorry, thought I tested this before committing.

Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -r1.131 -r1.132
--- cfi_cmdset_0001.c	22 Oct 2003 18:30:01 -0000	1.131
+++ cfi_cmdset_0001.c	4 Nov 2003 19:34:22 -0000	1.132
@@ -756,14 +756,6 @@
 		return ret;
 	}
 
-	/*
-	 * Check for a NOP for the case when the datum to write is
-	 * already present.
-	 */
-	status = cfi_read(map, adr);
-	if (status == datum)
-		goto out;
-
 	ENABLE_VPP(map);
 	cfi_write(map, CMD(0x40), adr);
 	cfi_write(map, datum, adr);




More information about the linux-mtd-cvs mailing list