diff options
author | David Brownell <david-b@pacbell.net> | 2006-01-08 16:34:22 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-13 19:29:54 -0500 |
commit | 1d6432fe10c3e724e307dd7137cd293a0edcae80 (patch) | |
tree | e32ba2eaecff99b2b86455ed2df8365b082cd396 /drivers/mtd/devices/Kconfig | |
parent | ffa458c1bd9b6f653008d450f337602f3d52a646 (diff) |
[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>
Diffstat (limited to 'drivers/mtd/devices/Kconfig')
-rw-r--r-- | drivers/mtd/devices/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig index 9a2aa4033c6a..84f2eb1fae02 100644 --- a/drivers/mtd/devices/Kconfig +++ b/drivers/mtd/devices/Kconfig | |||
@@ -47,6 +47,14 @@ config MTD_MS02NV | |||
47 | accelerator. Say Y here if you have a DECstation 5000/2x0 or a | 47 | accelerator. Say Y here if you have a DECstation 5000/2x0 or a |
48 | DECsystem 5900 equipped with such a module. | 48 | DECsystem 5900 equipped with such a module. |
49 | 49 | ||
50 | config MTD_DATAFLASH | ||
51 | tristate "Support for AT45xxx DataFlash" | ||
52 | depends on MTD && SPI_MASTER && EXPERIMENTAL | ||
53 | help | ||
54 | This enables access to AT45xxx DataFlash chips, using SPI. | ||
55 | Sometimes DataFlash chips are packaged inside MMC-format | ||
56 | cards; at this writing, the MMC stack won't handle those. | ||
57 | |||
50 | config MTD_SLRAM | 58 | config MTD_SLRAM |
51 | tristate "Uncached system RAM" | 59 | tristate "Uncached system RAM" |
52 | depends on MTD | 60 | depends on MTD |