From: Andrew Victor Date: Wed, 9 Feb 2005 09:17:45 +0000 (+0000) Subject: [JFFS2] Add support for JFFS2-on-Dataflash devices. X-Git-Tag: v2.6.13-rc3~93^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f15fd55f9bf266139b10850947e19c4e3f4e9b7;p=pandora-kernel.git [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 Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed