mtd/include/linux/mtd flashchip.h,1.9,1.10

dvrabel at infradead.org dvrabel at infradead.org
Tue Jan 27 05:16:23 EST 2004


Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv12948/include/linux/mtd

Modified Files:
	flashchip.h 
Log Message:
Fixes erase-suspend on AMD command set chips:
  - Erase suspend resume command must be written to the block to be resumed.
  - When erasing DQ2 must a) be read from the erase in progress block
    b) doesn't indicate that an erase has been suspended.  DQ6 is the toggle
    bit to check.
  - Currently erase-suspend-program does work.  It sometimes fails to erase
    the block completely.  So erase-suspend-program has been disabled for now.
    Note that this severly reduces write performance when used with (for
    example) JFFS2 but at least it works.


Index: flashchip.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/flashchip.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- flashchip.h	30 Apr 2003 11:15:22 -0000	1.9
+++ flashchip.h	27 Jan 2004 10:16:20 -0000	1.10
@@ -61,6 +61,7 @@
 
 	int write_suspended:1;
 	int erase_suspended:1;
+	unsigned long in_progress_block_addr;
 
 	spinlock_t *mutex;
 	spinlock_t _spinlock; /* We do it like this because sometimes they'll be shared. */




More information about the linux-mtd-cvs mailing list