mtd/include/linux/mtd nand.h,1.59,1.60

dbrown at infradead.org dbrown at infradead.org
Tue Jun 22 15:19:55 EDT 2004


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

Modified Files:
	nand.h 
Log Message:
Change BBT version to 1 byte.


Index: nand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- nand.h	22 Jun 2004 13:59:32 -0000	1.59
+++ nand.h	22 Jun 2004 19:19:53 -0000	1.60
@@ -376,6 +376,8 @@
  * @maxblocks:	maximum number of blocks to search for a bbt. This number of
  *		blocks is reserved at the end of the device where the tables are 
  *		written.
+ * @reserved_block_code: if non-0, this pattern denotes a reserved (rather than
+ *              bad) block in the stored bbt
  * @pattern:	pattern to identify bad block table or factory marked good / 
  *		bad blocks, can be NULL, if len = 0
  *
@@ -389,7 +391,7 @@
 	int	pages[NAND_MAX_CHIPS];
 	int	offs;
 	int	veroffs;
-	int	version[NAND_MAX_CHIPS];
+	char	version[NAND_MAX_CHIPS];
 	int	len;
 	int 	maxblocks;
 	int	reserved_block_code;





More information about the linux-mtd-cvs mailing list