[JFFS2] Add support for JFFS2-on-Dataflash devices.
commit8f15fd55f9bf266139b10850947e19c4e3f4e9b7
authorAndrew Victor <andrew@sanpeople.com>
Wed, 9 Feb 2005 09:17:45 +0000 (9 09:17 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 10:28:03 +0000 (23 12:28 +0200)
tree3df936efbffbbd6c20dd75f51780ac37458285ff
parent3be36675d41a30ed3b192f92684f1417aa0f8bfe
[JFFS2] Add 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@sanpeople.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/Kconfig
fs/jffs2/Makefile
fs/jffs2/erase.c
fs/jffs2/fs.c
fs/jffs2/os-linux.h
fs/jffs2/scan.c
fs/jffs2/wbuf.c
include/linux/jffs2_fs_sb.h
include/mtd/mtd-abi.h