android_kernel_xiaomi_sm8350/include/mtd
Andrew Victor 8f15fd55f9 [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>
2005-05-23 12:28:03 +02:00
..
inftl-user.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jffs2-user.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtd-abi.h [JFFS2] Add support for JFFS2-on-Dataflash devices. 2005-05-23 12:28:03 +02:00
mtd-user.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nftl-user.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00