mtd/drivers/mtd/nand nand_base.c,1.125,1.126

lavinen at infradead.org lavinen at infradead.org
Mon Dec 13 06:22:28 EST 2004


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

Modified Files:
	nand_base.c 
Log Message:
Use 32 ecc bytes in nand_write_page(), similar to nand_read_ec().


Index: nand_base.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand_base.c,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- nand_base.c	3 Dec 2004 14:06:14 -0000	1.125
+++ nand_base.c	13 Dec 2004 11:22:25 -0000	1.126
@@ -810,7 +810,7 @@
 	u_char *oob_buf,  struct nand_oobinfo *oobsel, int cached)
 {
 	int 	i, status;
-	u_char	ecc_code[12];
+	u_char	ecc_code[32];
 	int	eccmode = oobsel->useecc ? this->eccmode : NAND_ECC_NONE;
 	int  	*oob_config = oobsel->eccpos;
 	int	datidx = 0, eccidx = 0, eccsteps = this->eccsteps;





More information about the linux-mtd-cvs mailing list