mtd/include/mtd mtd-abi.h,1.9,1.10
Andrew Victor
pavlov at infradead.org
Wed Feb 9 04:17:45 EST 2005
- Previous message: mtd/include/linux jffs2_fs_sb.h,1.48,1.49
- Next message: mtd/fs/jffs2 Makefile.24, 1.2, 1.3 Makefile.common, 1.8,
1.9 defconfig, 1.1, 1.2 fs.c, 1.52, 1.53 nodelist.h, 1.126,
1.127 os-linux.h, 1.53, 1.54 scan.c, 1.117, 1.118 super-v24.c,
1.82, 1.83 super.c, 1.104, 1.105 wbuf.c, 1.88, 1.89
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/include/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv26392/include/mtd
Modified Files:
mtd-abi.h
Log Message:
Adds support for JFFS2-on-Dataflash devices.
For Dataflash, can_mark_obsolete = false and the NAND write buffering
code (wbuf.c) is used.
Since the DataFlash chip will automatically erase pages when writing,
the cleanmarkers are not needed - so cleanmarker_oob = false and
cleanmarker_size = 0
DataFlash page-sizes are not a power of two (they're multiples of 528
bytes). The SECTOR_ADDR macro (added in the previous core patch) is
replaced with a (slower) div/mod version if CONFIG_JFFS2_FS_DATAFLASH is
selected.
Signed-off-by: Andrew Victor <andrew at sanpeople.com>
Index: mtd-abi.h
===================================================================
RCS file: /home/cvs/mtd/include/mtd/mtd-abi.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- mtd-abi.h 8 Feb 2005 17:45:52 -0000 1.9
+++ mtd-abi.h 9 Feb 2005 09:17:42 -0000 1.10
@@ -29,6 +29,7 @@
#define MTD_NORFLASH 3
#define MTD_NANDFLASH 4
#define MTD_PEROM 5
+#define MTD_DATAFLASH 6
#define MTD_OTHER 14
#define MTD_UNKNOWN 15
- Previous message: mtd/include/linux jffs2_fs_sb.h,1.48,1.49
- Next message: mtd/fs/jffs2 Makefile.24, 1.2, 1.3 Makefile.common, 1.8,
1.9 defconfig, 1.1, 1.2 fs.c, 1.52, 1.53 nodelist.h, 1.126,
1.127 os-linux.h, 1.53, 1.54 scan.c, 1.117, 1.118 super-v24.c,
1.82, 1.83 super.c, 1.104, 1.105 wbuf.c, 1.88, 1.89
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list