[MTD] [OneNAND] Synchronize block locking operations
[safe/jmp/linux-2.6] / drivers / mtd / devices / Kconfig
index 9a2aa40..811d56f 100644 (file)
@@ -6,7 +6,7 @@ menu "Self-contained MTD device drivers"
 
 config MTD_PMC551
        tristate "Ramix PMC551 PCI Mezzanine RAM card support"
-       depends on MTD && PCI
+       depends on PCI
        ---help---
          This provides a MTD device driver for the Ramix PMC551 RAM PCI card
          from Ramix Inc. <http://www.ramix.com/products/memory/pmc551.html>.
@@ -40,16 +40,45 @@ config MTD_PMC551_DEBUG
 
 config MTD_MS02NV
        tristate "DEC MS02-NV NVRAM module support"
-       depends on MTD && MACH_DECSTATION
+       depends on MACH_DECSTATION
        help
          This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery
          backed-up NVRAM module.  The module was originally meant as an NFS
          accelerator.  Say Y here if you have a DECstation 5000/2x0 or a
          DECsystem 5900 equipped with such a module.
 
+         If you want to compile this driver as a module ( = code which can be
+         inserted in and removed from the running kernel whenever you want),
+         say M here and read <file:Documentation/kbuild/modules.txt>.
+         The module will be called ms02-nv.ko.
+
+config MTD_DATAFLASH
+       tristate "Support for AT45xxx DataFlash"
+       depends on SPI_MASTER && EXPERIMENTAL
+       help
+         This enables access to AT45xxx DataFlash chips, using SPI.
+         Sometimes DataFlash chips are packaged inside MMC-format
+         cards; at this writing, the MMC stack won't handle those.
+
+config MTD_M25P80
+       tristate "Support most SPI Flash chips (AT26DF, M25P, W25X, ...)"
+       depends on SPI_MASTER && EXPERIMENTAL
+       help
+         This enables access to most modern SPI flash chips, used for
+         program and data storage.   Series supported include Atmel AT26DF,
+         Spansion S25SL, SST 25VF, ST M25P, and Winbond W25X.  Other chips
+         are supported as well.  See the driver source for the current list,
+         or to add other chips.
+
+         Note that the original DataFlash chips (AT45 series, not AT26DF),
+         need an entirely different driver.
+
+         Set up your spi devices with the right board-specific platform data,
+         if you want to specify device partitioning or to use a device which
+         doesn't support the JEDEC ID instruction.
+
 config MTD_SLRAM
        tristate "Uncached system RAM"
-       depends on MTD
        help
          If your CPU cannot cache all of the physical memory in your machine,
          you can still use it for storage or swap by using this driver to
@@ -57,7 +86,6 @@ config MTD_SLRAM
 
 config MTD_PHRAM
        tristate "Physical system RAM"
-       depends on MTD
        help
          This is a re-implementation of the slram driver above.
 
@@ -67,7 +95,7 @@ config MTD_PHRAM
 
 config MTD_LART
        tristate "28F160xx flash driver for LART"
-       depends on SA1100_LART && MTD
+       depends on SA1100_LART
        help
          This enables the flash driver for LART. Please note that you do
          not need any mapping/chip driver for LART. This one does it all
@@ -75,7 +103,6 @@ config MTD_LART
 
 config MTD_MTDRAM
        tristate "Test driver using RAM"
-       depends on MTD
        help
          This enables a test MTD device driver which uses vmalloc() to
          provide storage.  You probably want to say 'N' unless you're
@@ -113,9 +140,9 @@ config MTDRAM_ABS_POS
          allocating space from Linux's available memory. Otherwise, leave
          this set to zero. Most people will want to leave this as zero.
 
-config MTD_BLKMTD
-       tristate "MTD emulation using block device"
-       depends on MTD
+config MTD_BLOCK2MTD
+       tristate "MTD using block device"
+       depends on BLOCK
        help
          This driver allows a block device to appear as an MTD. It would
          generally be used in the following cases:
@@ -125,20 +152,10 @@ config MTD_BLKMTD
          Testing MTD users (eg JFFS2) on large media and media that might
          be removed during a write (using the floppy drive).
 
-config MTD_BLOCK2MTD
-       tristate "MTD using block device (rewrite)"
-       depends on MTD && EXPERIMENTAL
-       help
-         This driver is basically the same at MTD_BLKMTD above, but
-         experienced some interface changes plus serious speedups.  In
-         the long term, it should replace MTD_BLKMTD.  Right now, you
-         shouldn't entrust important data to it yet.
-
 comment "Disk-On-Chip Device Drivers"
 
 config MTD_DOC2000
        tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)"
-       depends on MTD
        select MTD_DOCPROBE
        select MTD_NAND_IDS
        ---help---
@@ -161,7 +178,6 @@ config MTD_DOC2000
 
 config MTD_DOC2001
        tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)"
-       depends on MTD
        select MTD_DOCPROBE
        select MTD_NAND_IDS
        ---help---
@@ -183,7 +199,6 @@ config MTD_DOC2001
 
 config MTD_DOC2001PLUS
        tristate "M-Systems Disk-On-Chip Millennium Plus"
-       depends on MTD
        select MTD_DOCPROBE
        select MTD_NAND_IDS
        ---help---