fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / drivers / mtd / devices / Kconfig
index ec8cd5b..440f685 100644 (file)
@@ -1,5 +1,5 @@
 # drivers/mtd/maps/Kconfig
-# $Id: Kconfig,v 1.12 2004/08/10 13:12:18 dwmw2 Exp $
+# $Id: Kconfig,v 1.18 2005/11/07 11:14:24 gleixner Exp $
 
 menu "Self-contained MTD device drivers"
        depends on MTD!=n
@@ -47,6 +47,27 @@ config MTD_MS02NV
          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/modules.txt>.  The module will
+         be called ms02-nv.o.
+
+config MTD_DATAFLASH
+       tristate "Support for AT45xxx DataFlash"
+       depends on MTD && 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 for M25 SPI Flash"
+       depends on MTD && SPI_MASTER && EXPERIMENTAL
+       help
+         This enables access to ST M25P80 and similar SPI flash chips,
+         used for program and data storage.  Set up your spi devices
+         with the right board-specific platform data.
+
 config MTD_SLRAM
        tristate "Uncached system RAM"
        depends on MTD
@@ -110,12 +131,12 @@ config MTDRAM_ABS_POS
          If you have system RAM accessible by the CPU but not used by Linux
          in normal operation, you can give the physical address at which the
          available RAM starts, and the MTDRAM driver will use it instead of
-         allocating space from Linux's available memory. Otherwise, leave 
+         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 MTD && BLOCK
        help
          This driver allows a block device to appear as an MTD. It would
          generally be used in the following cases:
@@ -130,6 +151,8 @@ 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---
          This provides an MTD device driver for the M-Systems DiskOnChip
          2000 and Millennium devices.  Originally designed for the DiskOnChip
@@ -151,8 +174,10 @@ 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---
-         This provides an alternative MTD device driver for the M-Systems 
+         This provides an alternative MTD device driver for the M-Systems
          DiskOnChip Millennium devices.  Use this if you have problems with
          the combined DiskOnChip 2000 and Millennium driver above.  To get
          the DiskOnChip probe code to load and use this driver instead of
@@ -171,13 +196,15 @@ 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---
          This provides an MTD device driver for the M-Systems DiskOnChip
          Millennium Plus devices.
 
          If you use this device, you probably also want to enable the INFTL
          'Inverse NAND Flash Translation Layer' option below, which is used
-         to emulate a block device by using a kind of file system on the 
+         to emulate a block device by using a kind of file system on the
          flash chips.
 
          NOTE: This driver will soon be replaced by the new DiskOnChip driver
@@ -186,17 +213,10 @@ config MTD_DOC2001PLUS
 
 config MTD_DOCPROBE
        tristate
-       default m if MTD_DOC2001!=y && MTD_DOC2000!=y && MTD_DOC2001PLUS!=y && (MTD_DOC2001=m || MTD_DOC2000=m || MTD_DOC2001PLUS=m)
-       default y if MTD_DOC2001=y || MTD_DOC2000=y || MTD_DOC2001PLUS=y
-       help
-         This isn't a real config option; it's derived.
+       select MTD_DOCECC
 
 config MTD_DOCECC
        tristate
-       default m if MTD_DOCPROBE!=y && MTD_NAND_DISKONCHIP!=y && (MTD_DOCPROBE=m || MTD_NAND_DISKONCHIP=m)
-       default y if MTD_DOCPROBE=y || MTD_NAND_DISKONCHIP=y
-       help
-         This isn't a real config option; it's derived.
 
 config MTD_DOCPROBE_ADVANCED
        bool "Advanced detection options for DiskOnChip"