mtd/include/mtd mtd-abi.h,1.4,1.5

gleixner at infradead.org gleixner at infradead.org
Tue Jun 22 05:29:37 EDT 2004


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

Modified Files:
	mtd-abi.h 
Log Message:
Add placeonly ecc mode

Index: mtd-abi.h
===================================================================
RCS file: /home/cvs/mtd/include/mtd/mtd-abi.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mtd-abi.h	4 Jun 2004 14:42:54 -0000	1.4
+++ mtd-abi.h	22 Jun 2004 09:29:35 -0000	1.5
@@ -51,8 +51,9 @@
 
 /* ECC byte placement */
 #define MTD_NANDECC_OFF		0	// Switch off ECC (Not recommended)
-#define MTD_NANDECC_PLACE	1	// Use the given placement in the structure
+#define MTD_NANDECC_PLACE	1	// Use the given placement in the structure (YAFFS1 legacy mode)
 #define MTD_NANDECC_AUTOPLACE	2	// Use the default placement scheme
+#define MTD_NANDECC_PLACEONLY	3	// Use the given placement in the structure (Do not store ecc result on read)
 
 struct mtd_info_user {
 	uint8_t type;





More information about the linux-mtd-cvs mailing list