mtd/util nandwrite.c,1.21,1.22

gleixner at infradead.org gleixner at infradead.org
Sat Jan 8 11:12:09 EST 2005


Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv18920

Modified Files:
	nandwrite.c 
Log Message:
Remove bogus yaffs restriction for 256 byte pagesize devices. Patch provided by Michael <xemc at yahoo.com>

Index: nandwrite.c
===================================================================
RCS file: /home/cvs/mtd/util/nandwrite.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- nandwrite.c	2 Dec 2004 19:21:20 -0000	1.21
+++ nandwrite.c	8 Jan 2005 16:12:06 -0000	1.22
@@ -271,7 +271,7 @@
 	if (forcejffs2 || forceyaffs) {
 		struct nand_oobinfo *oobsel = forcejffs2 ? &jffs2_oobinfo : &yaffs_oobinfo;
 		
-		if (forceyaffs && meminfo.oobsize == 8) {
+		if (meminfo.oobsize == 8) {
     			if (forceyaffs) {
 				fprintf (stderr, "YAFSS cannot operate on 256 Byte page size");
 				goto restoreoob;





More information about the linux-mtd-cvs mailing list