mtd/drivers/mtd/nand nand_bbt.c,1.6,1.7

gleixner at infradead.org gleixner at infradead.org
Thu May 27 18:27:36 EDT 2004


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

Modified Files:
	nand_bbt.c 
Log Message:
AARG. Increment start block by blocks/chip for PERHCIP bbts. Signed-off-by: Thomas Gleixner <tglx at linutronix.de>

Index: nand_bbt.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand_bbt.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- nand_bbt.c	27 May 2004 22:03:10 -0000	1.6
+++ nand_bbt.c	27 May 2004 22:27:33 -0000	1.7
@@ -327,6 +327,7 @@
 				break;
 			}
 		}
+		startblock += this->chipsize >> this->erase_shift;
 	}
 	/* Check, if we found a bbt for each requested chip */
 	for (i = 0; i < chips; i++) {





More information about the linux-mtd-cvs mailing list