[PATCH] spi: mtd dataflash driver
commit1d6432fe10c3e724e307dd7137cd293a0edcae80
authorDavid Brownell <david-b@pacbell.net>
Sun, 8 Jan 2006 21:34:22 +0000 (8 13:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 14 Jan 2006 00:29:54 +0000 (13 16:29 -0800)
treee32ba2eaecff99b2b86455ed2df8365b082cd396
parentffa458c1bd9b6f653008d450f337602f3d52a646
[PATCH] spi: mtd dataflash driver

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: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mtd/devices/Kconfig
drivers/mtd/devices/Makefile
drivers/mtd/devices/mtd_dataflash.c [new file with mode: 0644]
include/linux/spi/flash.h [new file with mode: 0644]