• Andrew Victor's avatar
    [JFFS2] Add support for JFFS2-on-Dataflash devices. · 8f15fd55
    Andrew Victor authored
    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
    Signed-off-by: default avatarAndrew Victor <andrew@sanpeople.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>