mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.133,1.134

David Woodhouse dwmw2 at infradead.org
Tue Mar 23 07:40:39 EST 2004


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

Modified Files:
	cfi_cmdset_0001.c 
Log Message:
Set chip state when debugging lock state

Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -r1.133 -r1.134
--- cfi_cmdset_0001.c	22 Mar 2004 07:38:58 -0000	1.133
+++ cfi_cmdset_0001.c	23 Mar 2004 12:40:36 -0000	1.134
@@ -1480,8 +1480,7 @@
 	cfi_send_gen_cmd(0x90, 0x55, 0, map, cfi, cfi->device_type, NULL);
 	printk(KERN_DEBUG "block status register for 0x%08lx is %x\n",
 	       adr, cfi_read_query(map, adr+(2*ofs_factor)));
-	cfi_send_gen_cmd(0xff, 0x55, 0, map, cfi, cfi->device_type, NULL);
-	
+	chip->state = FL_JEDEC_QUERY;
 	return 0;
 }
 #endif




More information about the linux-mtd-cvs mailing list