• David Brownell's avatar
    [PATCH] spi: mtd dataflash driver · 1d6432fe
    David Brownell authored
    This is a conversion of the AT91rm9200 DataFlash MTD driver to use the
    lightweight SPI framework, and no longer be AT91-specific.  It compiles
    down to less than 3KBytes on ARM.
    
    The driver allows board-specific init code to provide platform_data with
    the relevant MTD partitioning information, and hotplugs.
    
    This version has been lightly tested.  Its parent at91_dataflash driver has
    been pretty well banged on, although kernel.org JFFS2 dataflash support was
    acting broken the last time I tried it.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    1d6432fe
mtd_dataflash.c 16.4 KB