mtd/include/linux/mtd nand.h,1.34,1.35
gleixner at infradead.org
gleixner at infradead.org
Sun Mar 28 14:57:26 EST 2004
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv5307
Modified Files:
nand.h
Log Message:
more 16 bit and large page support
Index: nand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- nand.h 28 Mar 2004 19:32:31 -0000 1.34
+++ nand.h 28 Mar 2004 19:57:24 -0000 1.35
@@ -181,6 +181,8 @@
u_char (*read_byte)(struct mtd_info *mtd);
void (*write_byte)(struct mtd_info *mtd, u_char byte);
+ u16 (*read_word)(struct mtd_info *mtd);
+ void (*write_word)(struct mtd_info *mtd, u16 word);
void (*write_buf)(struct mtd_info *mtd, const u_char *buf, int len);
void (*read_buf)(struct mtd_info *mtd, u_char *buf, int len);
@@ -256,6 +258,7 @@
/*
* Constants for oob configuration
*/
-#define NAND_BADBLOCK_POS 5
+#define NAND_SMALL_BADBLOCK_POS 5
+#define NAND_LARGE_BADBLOCK_POS 0
#endif /* __LINUX_MTD_NAND_H */
More information about the linux-mtd-cvs
mailing list