mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.96,1.97
David Woodhouse
dwmw2 at infradead.org
Sun Jun 16 13:11:12 EDT 2002
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv9530
Modified Files:
cfi_cmdset_0001.c
Log Message:
cfi_cmdset_0001.c
Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- cfi_cmdset_0001.c 6 Mar 2002 10:14:54 -0000 1.96
+++ cfi_cmdset_0001.c 16 Jun 2002 17:11:09 -0000 1.97
@@ -879,11 +879,12 @@
cfi_write(map, CMD(0x70), cmd_adr);
}
ENABLE_VPP(map);
- cfi_write(map, CMD(0xe8), cmd_adr);
chip->state = FL_WRITING_TO_BUFFER;
z = 0;
for (;;) {
+ cfi_write(map, CMD(0xe8), cmd_adr);
+
status = cfi_read(map, cmd_adr);
if ((status & status_OK) == status_OK)
break;
More information about the linux-mtd-cvs
mailing list