Commit ec98c681 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by David Woodhouse

Use menuconfig objects: MTD

Use menuconfigs instead of menus, so the whole menu can be disabled at once
instead of going through all options.
Signed-off-by: default avatarJan Engelhardt <jengelh@gmx.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 99f9b243
# $Id: Kconfig,v 1.11 2005/11/07 11:14:19 gleixner Exp $ # $Id: Kconfig,v 1.11 2005/11/07 11:14:19 gleixner Exp $
menu "Memory Technology Devices (MTD)" menuconfig MTD
config MTD
tristate "Memory Technology Device (MTD) support" tristate "Memory Technology Device (MTD) support"
help help
Memory Technology Devices are flash, RAM and similar chips, often Memory Technology Devices are flash, RAM and similar chips, often
...@@ -13,9 +11,10 @@ config MTD ...@@ -13,9 +11,10 @@ config MTD
them. It will also allow you to select individual drivers for them. It will also allow you to select individual drivers for
particular hardware and users of MTD devices. If unsure, say N. particular hardware and users of MTD devices. If unsure, say N.
if MTD
config MTD_DEBUG config MTD_DEBUG
bool "Debugging" bool "Debugging"
depends on MTD
help help
This turns on low-level debugging for the entire MTD sub-system. This turns on low-level debugging for the entire MTD sub-system.
Normally, you should say 'N'. Normally, you should say 'N'.
...@@ -29,7 +28,6 @@ config MTD_DEBUG_VERBOSE ...@@ -29,7 +28,6 @@ config MTD_DEBUG_VERBOSE
config MTD_CONCAT config MTD_CONCAT
tristate "MTD concatenating support" tristate "MTD concatenating support"
depends on MTD
help help
Support for concatenating several MTD devices into a single Support for concatenating several MTD devices into a single
(virtual) one. This allows you to have -for example- a JFFS(2) (virtual) one. This allows you to have -for example- a JFFS(2)
...@@ -38,7 +36,6 @@ config MTD_CONCAT ...@@ -38,7 +36,6 @@ config MTD_CONCAT
config MTD_PARTITIONS config MTD_PARTITIONS
bool "MTD partitioning support" bool "MTD partitioning support"
depends on MTD
help help
If you have a device which needs to divide its flash chip(s) up If you have a device which needs to divide its flash chip(s) up
into multiple 'partitions', each of which appears to the user as into multiple 'partitions', each of which appears to the user as
...@@ -153,11 +150,9 @@ config MTD_AFS_PARTS ...@@ -153,11 +150,9 @@ config MTD_AFS_PARTS
'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example. 'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example.
comment "User Modules And Translation Layers" comment "User Modules And Translation Layers"
depends on MTD
config MTD_CHAR config MTD_CHAR
tristate "Direct char device access to MTD devices" tristate "Direct char device access to MTD devices"
depends on MTD
help help
This provides a character device for each MTD device present in This provides a character device for each MTD device present in
the system, allowing the user to read and write directly to the the system, allowing the user to read and write directly to the
...@@ -166,12 +161,12 @@ config MTD_CHAR ...@@ -166,12 +161,12 @@ config MTD_CHAR
config MTD_BLKDEVS config MTD_BLKDEVS
tristate "Common interface to block layer for MTD 'translation layers'" tristate "Common interface to block layer for MTD 'translation layers'"
depends on MTD && BLOCK depends on BLOCK
default n default n
config MTD_BLOCK config MTD_BLOCK
tristate "Caching block device access to MTD devices" tristate "Caching block device access to MTD devices"
depends on MTD && BLOCK depends on BLOCK
select MTD_BLKDEVS select MTD_BLKDEVS
---help--- ---help---
Although most flash chips have an erase size too large to be useful Although most flash chips have an erase size too large to be useful
...@@ -194,7 +189,7 @@ config MTD_BLOCK ...@@ -194,7 +189,7 @@ config MTD_BLOCK
config MTD_BLOCK_RO config MTD_BLOCK_RO
tristate "Readonly block device access to MTD devices" tristate "Readonly block device access to MTD devices"
depends on MTD_BLOCK!=y && MTD && BLOCK depends on MTD_BLOCK!=y && BLOCK
select MTD_BLKDEVS select MTD_BLKDEVS
help help
This allows you to mount read-only file systems (such as cramfs) This allows you to mount read-only file systems (such as cramfs)
...@@ -206,7 +201,7 @@ config MTD_BLOCK_RO ...@@ -206,7 +201,7 @@ config MTD_BLOCK_RO
config FTL config FTL
tristate "FTL (Flash Translation Layer) support" tristate "FTL (Flash Translation Layer) support"
depends on MTD && BLOCK depends on BLOCK
select MTD_BLKDEVS select MTD_BLKDEVS
---help--- ---help---
This provides support for the original Flash Translation Layer which This provides support for the original Flash Translation Layer which
...@@ -223,7 +218,7 @@ config FTL ...@@ -223,7 +218,7 @@ config FTL
config NFTL config NFTL
tristate "NFTL (NAND Flash Translation Layer) support" tristate "NFTL (NAND Flash Translation Layer) support"
depends on MTD && BLOCK depends on BLOCK
select MTD_BLKDEVS select MTD_BLKDEVS
---help--- ---help---
This provides support for the NAND Flash Translation Layer which is This provides support for the NAND Flash Translation Layer which is
...@@ -247,7 +242,7 @@ config NFTL_RW ...@@ -247,7 +242,7 @@ config NFTL_RW
config INFTL config INFTL
tristate "INFTL (Inverse NAND Flash Translation Layer) support" tristate "INFTL (Inverse NAND Flash Translation Layer) support"
depends on MTD && BLOCK depends on BLOCK
select MTD_BLKDEVS select MTD_BLKDEVS
---help--- ---help---
This provides support for the Inverse NAND Flash Translation This provides support for the Inverse NAND Flash Translation
...@@ -265,7 +260,7 @@ config INFTL ...@@ -265,7 +260,7 @@ config INFTL
config RFD_FTL config RFD_FTL
tristate "Resident Flash Disk (Flash Translation Layer) support" tristate "Resident Flash Disk (Flash Translation Layer) support"
depends on MTD && BLOCK depends on BLOCK
select MTD_BLKDEVS select MTD_BLKDEVS
---help--- ---help---
This provides support for the flash translation layer known This provides support for the flash translation layer known
...@@ -276,7 +271,7 @@ config RFD_FTL ...@@ -276,7 +271,7 @@ config RFD_FTL
config SSFDC config SSFDC
tristate "NAND SSFDC (SmartMedia) read only translation layer" tristate "NAND SSFDC (SmartMedia) read only translation layer"
depends on MTD && BLOCK depends on BLOCK
select MTD_BLKDEVS select MTD_BLKDEVS
help help
This enables read only access to SmartMedia formatted NAND This enables read only access to SmartMedia formatted NAND
...@@ -292,5 +287,4 @@ source "drivers/mtd/nand/Kconfig" ...@@ -292,5 +287,4 @@ source "drivers/mtd/nand/Kconfig"
source "drivers/mtd/onenand/Kconfig" source "drivers/mtd/onenand/Kconfig"
endmenu endif # MTD
...@@ -6,7 +6,6 @@ menu "RAM/ROM/Flash chip drivers" ...@@ -6,7 +6,6 @@ menu "RAM/ROM/Flash chip drivers"
config MTD_CFI config MTD_CFI
tristate "Detect flash chips by Common Flash Interface (CFI) probe" tristate "Detect flash chips by Common Flash Interface (CFI) probe"
depends on MTD
select MTD_GEN_PROBE select MTD_GEN_PROBE
help help
The Common Flash Interface specification was developed by Intel, The Common Flash Interface specification was developed by Intel,
...@@ -18,7 +17,6 @@ config MTD_CFI ...@@ -18,7 +17,6 @@ config MTD_CFI
config MTD_JEDECPROBE config MTD_JEDECPROBE
tristate "Detect non-CFI AMD/JEDEC-compatible flash chips" tristate "Detect non-CFI AMD/JEDEC-compatible flash chips"
depends on MTD
select MTD_GEN_PROBE select MTD_GEN_PROBE
help help
This option enables JEDEC-style probing of flash chips which are not This option enables JEDEC-style probing of flash chips which are not
...@@ -213,21 +211,18 @@ config MTD_CFI_UTIL ...@@ -213,21 +211,18 @@ config MTD_CFI_UTIL
config MTD_RAM config MTD_RAM
tristate "Support for RAM chips in bus mapping" tristate "Support for RAM chips in bus mapping"
depends on MTD
help help
This option enables basic support for RAM chips accessed through This option enables basic support for RAM chips accessed through
a bus mapping driver. a bus mapping driver.
config MTD_ROM config MTD_ROM
tristate "Support for ROM chips in bus mapping" tristate "Support for ROM chips in bus mapping"
depends on MTD
help help
This option enables basic support for ROM chips accessed through This option enables basic support for ROM chips accessed through
a bus mapping driver. a bus mapping driver.
config MTD_ABSENT config MTD_ABSENT
tristate "Support for absent chips in bus mapping" tristate "Support for absent chips in bus mapping"
depends on MTD
help help
This option enables support for a dummy probing driver used to This option enables support for a dummy probing driver used to
allocated placeholder MTD devices on systems that have socketed allocated placeholder MTD devices on systems that have socketed
...@@ -237,7 +232,6 @@ config MTD_ABSENT ...@@ -237,7 +232,6 @@ config MTD_ABSENT
with this driver will return -ENODEV upon access. with this driver will return -ENODEV upon access.
config MTD_OBSOLETE_CHIPS config MTD_OBSOLETE_CHIPS
depends on MTD
bool "Older (theoretically obsoleted now) drivers for non-CFI chips" bool "Older (theoretically obsoleted now) drivers for non-CFI chips"
help help
This option does not enable any code directly, but will allow you to This option does not enable any code directly, but will allow you to
...@@ -250,7 +244,7 @@ config MTD_OBSOLETE_CHIPS ...@@ -250,7 +244,7 @@ config MTD_OBSOLETE_CHIPS
config MTD_AMDSTD config MTD_AMDSTD
tristate "AMD compatible flash chip support (non-CFI)" tristate "AMD compatible flash chip support (non-CFI)"
depends on MTD && MTD_OBSOLETE_CHIPS && BROKEN depends on MTD_OBSOLETE_CHIPS && BROKEN
help help
This option enables support for flash chips using AMD-compatible This option enables support for flash chips using AMD-compatible
commands, including some which are not CFI-compatible and hence commands, including some which are not CFI-compatible and hence
...@@ -260,7 +254,7 @@ config MTD_AMDSTD ...@@ -260,7 +254,7 @@ config MTD_AMDSTD
config MTD_SHARP config MTD_SHARP
tristate "pre-CFI Sharp chip support" tristate "pre-CFI Sharp chip support"
depends on MTD && MTD_OBSOLETE_CHIPS depends on MTD_OBSOLETE_CHIPS
help help
This option enables support for flash chips using Sharp-compatible This option enables support for flash chips using Sharp-compatible
commands, including some which are not CFI-compatible and hence commands, including some which are not CFI-compatible and hence
...@@ -268,7 +262,7 @@ config MTD_SHARP ...@@ -268,7 +262,7 @@ config MTD_SHARP
config MTD_JEDEC config MTD_JEDEC
tristate "JEDEC device support" tristate "JEDEC device support"
depends on MTD && MTD_OBSOLETE_CHIPS && BROKEN depends on MTD_OBSOLETE_CHIPS && BROKEN
help help
Enable older JEDEC flash interface devices for self Enable older JEDEC flash interface devices for self
programming flash. It is commonly used in older AMD chips. It is programming flash. It is commonly used in older AMD chips. It is
......
...@@ -6,7 +6,7 @@ menu "Self-contained MTD device drivers" ...@@ -6,7 +6,7 @@ menu "Self-contained MTD device drivers"
config MTD_PMC551 config MTD_PMC551
tristate "Ramix PMC551 PCI Mezzanine RAM card support" tristate "Ramix PMC551 PCI Mezzanine RAM card support"
depends on MTD && PCI depends on PCI
---help--- ---help---
This provides a MTD device driver for the Ramix PMC551 RAM PCI card This provides a MTD device driver for the Ramix PMC551 RAM PCI card
from Ramix Inc. <http://www.ramix.com/products/memory/pmc551.html>. from Ramix Inc. <http://www.ramix.com/products/memory/pmc551.html>.
...@@ -40,7 +40,7 @@ config MTD_PMC551_DEBUG ...@@ -40,7 +40,7 @@ config MTD_PMC551_DEBUG
config MTD_MS02NV config MTD_MS02NV
tristate "DEC MS02-NV NVRAM module support" tristate "DEC MS02-NV NVRAM module support"
depends on MTD && MACH_DECSTATION depends on MACH_DECSTATION
help help
This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery 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 backed-up NVRAM module. The module was originally meant as an NFS
...@@ -54,7 +54,7 @@ config MTD_MS02NV ...@@ -54,7 +54,7 @@ config MTD_MS02NV
config MTD_DATAFLASH config MTD_DATAFLASH
tristate "Support for AT45xxx DataFlash" tristate "Support for AT45xxx DataFlash"
depends on MTD && SPI_MASTER && EXPERIMENTAL depends on SPI_MASTER && EXPERIMENTAL
help help
This enables access to AT45xxx DataFlash chips, using SPI. This enables access to AT45xxx DataFlash chips, using SPI.
Sometimes DataFlash chips are packaged inside MMC-format Sometimes DataFlash chips are packaged inside MMC-format
...@@ -70,7 +70,7 @@ config MTD_DATAFLASH26 ...@@ -70,7 +70,7 @@ config MTD_DATAFLASH26
config MTD_M25P80 config MTD_M25P80
tristate "Support for M25 SPI Flash" tristate "Support for M25 SPI Flash"
depends on MTD && SPI_MASTER && EXPERIMENTAL depends on SPI_MASTER && EXPERIMENTAL
help help
This enables access to ST M25P80 and similar SPI flash chips, This enables access to ST M25P80 and similar SPI flash chips,
used for program and data storage. Set up your spi devices used for program and data storage. Set up your spi devices
...@@ -78,7 +78,6 @@ config MTD_M25P80 ...@@ -78,7 +78,6 @@ config MTD_M25P80
config MTD_SLRAM config MTD_SLRAM
tristate "Uncached system RAM" tristate "Uncached system RAM"
depends on MTD
help help
If your CPU cannot cache all of the physical memory in your machine, 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 you can still use it for storage or swap by using this driver to
...@@ -86,7 +85,6 @@ config MTD_SLRAM ...@@ -86,7 +85,6 @@ config MTD_SLRAM
config MTD_PHRAM config MTD_PHRAM
tristate "Physical system RAM" tristate "Physical system RAM"
depends on MTD
help help
This is a re-implementation of the slram driver above. This is a re-implementation of the slram driver above.
...@@ -96,7 +94,7 @@ config MTD_PHRAM ...@@ -96,7 +94,7 @@ config MTD_PHRAM
config MTD_LART config MTD_LART
tristate "28F160xx flash driver for LART" tristate "28F160xx flash driver for LART"
depends on SA1100_LART && MTD depends on SA1100_LART
help help
This enables the flash driver for LART. Please note that you do 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 not need any mapping/chip driver for LART. This one does it all
...@@ -104,7 +102,6 @@ config MTD_LART ...@@ -104,7 +102,6 @@ config MTD_LART
config MTD_MTDRAM config MTD_MTDRAM
tristate "Test driver using RAM" tristate "Test driver using RAM"
depends on MTD
help help
This enables a test MTD device driver which uses vmalloc() to This enables a test MTD device driver which uses vmalloc() to
provide storage. You probably want to say 'N' unless you're provide storage. You probably want to say 'N' unless you're
...@@ -144,7 +141,7 @@ config MTDRAM_ABS_POS ...@@ -144,7 +141,7 @@ config MTDRAM_ABS_POS
config MTD_BLOCK2MTD config MTD_BLOCK2MTD
tristate "MTD using block device" tristate "MTD using block device"
depends on MTD && BLOCK depends on BLOCK
help help
This driver allows a block device to appear as an MTD. It would This driver allows a block device to appear as an MTD. It would
generally be used in the following cases: generally be used in the following cases:
...@@ -158,7 +155,6 @@ comment "Disk-On-Chip Device Drivers" ...@@ -158,7 +155,6 @@ comment "Disk-On-Chip Device Drivers"
config MTD_DOC2000 config MTD_DOC2000
tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)" tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)"
depends on MTD
select MTD_DOCPROBE select MTD_DOCPROBE
select MTD_NAND_IDS select MTD_NAND_IDS
---help--- ---help---
...@@ -181,7 +177,6 @@ config MTD_DOC2000 ...@@ -181,7 +177,6 @@ config MTD_DOC2000
config MTD_DOC2001 config MTD_DOC2001
tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)" tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)"
depends on MTD
select MTD_DOCPROBE select MTD_DOCPROBE
select MTD_NAND_IDS select MTD_NAND_IDS
---help--- ---help---
...@@ -203,7 +198,6 @@ config MTD_DOC2001 ...@@ -203,7 +198,6 @@ config MTD_DOC2001
config MTD_DOC2001PLUS config MTD_DOC2001PLUS
tristate "M-Systems Disk-On-Chip Millennium Plus" tristate "M-Systems Disk-On-Chip Millennium Plus"
depends on MTD
select MTD_DOCPROBE select MTD_DOCPROBE
select MTD_NAND_IDS select MTD_NAND_IDS
---help--- ---help---
......
...@@ -6,7 +6,6 @@ menu "Mapping drivers for chip access" ...@@ -6,7 +6,6 @@ menu "Mapping drivers for chip access"
config MTD_COMPLEX_MAPPINGS config MTD_COMPLEX_MAPPINGS
bool "Support non-linear mappings of flash chips" bool "Support non-linear mappings of flash chips"
depends on MTD
help help
This causes the chip drivers to allow for complicated This causes the chip drivers to allow for complicated
paged mappings of flash chips. paged mappings of flash chips.
...@@ -550,7 +549,7 @@ config MTD_OMAP_NOR ...@@ -550,7 +549,7 @@ config MTD_OMAP_NOR
# This needs CFI or JEDEC, depending on the cards found. # This needs CFI or JEDEC, depending on the cards found.
config MTD_PCI config MTD_PCI
tristate "PCI MTD driver" tristate "PCI MTD driver"
depends on MTD && PCI && MTD_COMPLEX_MAPPINGS depends on PCI && MTD_COMPLEX_MAPPINGS
help help
Mapping for accessing flash devices on add-in cards like the Intel XScale Mapping for accessing flash devices on add-in cards like the Intel XScale
IQ80310 card, and the Intel EBSA285 card in blank ROM programming mode IQ80310 card, and the Intel EBSA285 card in blank ROM programming mode
...@@ -560,7 +559,7 @@ config MTD_PCI ...@@ -560,7 +559,7 @@ config MTD_PCI
config MTD_PCMCIA config MTD_PCMCIA
tristate "PCMCIA MTD driver" tristate "PCMCIA MTD driver"
depends on MTD && PCMCIA && MTD_COMPLEX_MAPPINGS && BROKEN depends on PCMCIA && MTD_COMPLEX_MAPPINGS && BROKEN
help help
Map driver for accessing PCMCIA linear flash memory cards. These Map driver for accessing PCMCIA linear flash memory cards. These
cards are usually around 4-16MiB in size. This does not include cards are usually around 4-16MiB in size. This does not include
...@@ -624,13 +623,12 @@ config MTD_BAST_MAXSIZE ...@@ -624,13 +623,12 @@ config MTD_BAST_MAXSIZE
config MTD_SHARP_SL config MTD_SHARP_SL
bool "ROM mapped on Sharp SL Series" bool "ROM mapped on Sharp SL Series"
depends on MTD && ARCH_PXA depends on ARCH_PXA
help help
This enables access to the flash chip on the Sharp SL Series of PDAs. This enables access to the flash chip on the Sharp SL Series of PDAs.
config MTD_PLATRAM config MTD_PLATRAM
tristate "Map driver for platform device RAM (mtd-ram)" tristate "Map driver for platform device RAM (mtd-ram)"
depends on MTD
select MTD_RAM select MTD_RAM
help help
Map driver for RAM areas described via the platform device Map driver for RAM areas described via the platform device
......
# drivers/mtd/nand/Kconfig # drivers/mtd/nand/Kconfig
# $Id: Kconfig,v 1.35 2005/11/07 11:14:30 gleixner Exp $ # $Id: Kconfig,v 1.35 2005/11/07 11:14:30 gleixner Exp $
menu "NAND Flash Device Drivers" menuconfig MTD_NAND
depends on MTD!=n
config MTD_NAND
tristate "NAND Device Support" tristate "NAND Device Support"
depends on MTD depends on MTD
select MTD_NAND_IDS select MTD_NAND_IDS
...@@ -13,9 +10,10 @@ config MTD_NAND ...@@ -13,9 +10,10 @@ config MTD_NAND
devices. For further information see devices. For further information see
<http://www.linux-mtd.infradead.org/doc/nand.html>. <http://www.linux-mtd.infradead.org/doc/nand.html>.
if MTD_NAND
config MTD_NAND_VERIFY_WRITE config MTD_NAND_VERIFY_WRITE
bool "Verify NAND page writes" bool "Verify NAND page writes"
depends on MTD_NAND
help help
This adds an extra check when data is written to the flash. The This adds an extra check when data is written to the flash. The
NAND flash device internally checks only bits transitioning NAND flash device internally checks only bits transitioning
...@@ -25,7 +23,6 @@ config MTD_NAND_VERIFY_WRITE ...@@ -25,7 +23,6 @@ config MTD_NAND_VERIFY_WRITE
config MTD_NAND_ECC_SMC config MTD_NAND_ECC_SMC
bool "NAND ECC Smart Media byte order" bool "NAND ECC Smart Media byte order"
depends on MTD_NAND
default n default n
help help
Software ECC according to the Smart Media Specification. Software ECC according to the Smart Media Specification.
...@@ -42,45 +39,45 @@ config MTD_NAND_MUSEUM_IDS ...@@ -42,45 +39,45 @@ config MTD_NAND_MUSEUM_IDS
config MTD_NAND_AUTCPU12 config MTD_NAND_AUTCPU12
tristate "SmartMediaCard on autronix autcpu12 board" tristate "SmartMediaCard on autronix autcpu12 board"
depends on MTD_NAND && ARCH_AUTCPU12 depends on ARCH_AUTCPU12
help help
This enables the driver for the autronix autcpu12 board to This enables the driver for the autronix autcpu12 board to
access the SmartMediaCard. access the SmartMediaCard.
config MTD_NAND_EDB7312 config MTD_NAND_EDB7312
tristate "Support for Cirrus Logic EBD7312 evaluation board" tristate "Support for Cirrus Logic EBD7312 evaluation board"
depends on MTD_NAND && ARCH_EDB7312 depends on ARCH_EDB7312
help help
This enables the driver for the Cirrus Logic EBD7312 evaluation This enables the driver for the Cirrus Logic EBD7312 evaluation
board to access the onboard NAND Flash. board to access the onboard NAND Flash.
config MTD_NAND_H1900 config MTD_NAND_H1900
tristate "iPAQ H1900 flash" tristate "iPAQ H1900 flash"
depends on MTD_NAND && ARCH_PXA && MTD_PARTITIONS depends on ARCH_PXA && MTD_PARTITIONS
help help
This enables the driver for the iPAQ h1900 flash. This enables the driver for the iPAQ h1900 flash.
config MTD_NAND_SPIA config MTD_NAND_SPIA
tristate "NAND Flash device on SPIA board" tristate "NAND Flash device on SPIA board"
depends on ARCH_P720T && MTD_NAND depends on ARCH_P720T
help help
If you had to ask, you don't have one. Say 'N'. If you had to ask, you don't have one. Say 'N'.
config MTD_NAND_AMS_DELTA config MTD_NAND_AMS_DELTA
tristate "NAND Flash device on Amstrad E3" tristate "NAND Flash device on Amstrad E3"
depends on MACH_AMS_DELTA && MTD_NAND depends on MACH_AMS_DELTA
help help
Support for NAND flash on Amstrad E3 (Delta). Support for NAND flash on Amstrad E3 (Delta).
config MTD_NAND_TOTO config MTD_NAND_TOTO
tristate "NAND Flash device on TOTO board" tristate "NAND Flash device on TOTO board"
depends on ARCH_OMAP && MTD_NAND && BROKEN depends on ARCH_OMAP && BROKEN
help help
Support for NAND flash on Texas Instruments Toto platform. Support for NAND flash on Texas Instruments Toto platform.
config MTD_NAND_TS7250 config MTD_NAND_TS7250
tristate "NAND Flash device on TS-7250 board" tristate "NAND Flash device on TS-7250 board"
depends on MACH_TS72XX && MTD_NAND depends on MACH_TS72XX
help help
Support for NAND flash on Technologic Systems TS-7250 platform. Support for NAND flash on Technologic Systems TS-7250 platform.
...@@ -89,14 +86,14 @@ config MTD_NAND_IDS ...@@ -89,14 +86,14 @@ config MTD_NAND_IDS
config MTD_NAND_AU1550 config MTD_NAND_AU1550
tristate "Au1550/1200 NAND support" tristate "Au1550/1200 NAND support"
depends on (SOC_AU1200 || SOC_AU1550) && MTD_NAND depends on SOC_AU1200 || SOC_AU1550
help help
This enables the driver for the NAND flash controller on the This enables the driver for the NAND flash controller on the
AMD/Alchemy 1550 SOC. AMD/Alchemy 1550 SOC.
config MTD_NAND_RTC_FROM4 config MTD_NAND_RTC_FROM4
tristate "Renesas Flash ROM 4-slot interface board (FROM_BOARD4)" tristate "Renesas Flash ROM 4-slot interface board (FROM_BOARD4)"
depends on MTD_NAND && SH_SOLUTION_ENGINE depends on SH_SOLUTION_ENGINE
select REED_SOLOMON select REED_SOLOMON
select REED_SOLOMON_DEC8 select REED_SOLOMON_DEC8
select BITREVERSE select BITREVERSE
...@@ -106,13 +103,13 @@ config MTD_NAND_RTC_FROM4 ...@@ -106,13 +103,13 @@ config MTD_NAND_RTC_FROM4
config MTD_NAND_PPCHAMELEONEVB config MTD_NAND_PPCHAMELEONEVB
tristate "NAND Flash device on PPChameleonEVB board" tristate "NAND Flash device on PPChameleonEVB board"
depends on PPCHAMELEONEVB && MTD_NAND && BROKEN depends on PPCHAMELEONEVB && BROKEN
help help
This enables the NAND flash driver on the PPChameleon EVB Board. This enables the NAND flash driver on the PPChameleon EVB Board.
config MTD_NAND_S3C2410 config MTD_NAND_S3C2410
tristate "NAND Flash support for S3C2410/S3C2440 SoC" tristate "NAND Flash support for S3C2410/S3C2440 SoC"
depends on ARCH_S3C2410 && MTD_NAND depends on ARCH_S3C2410
help help
This enables the NAND flash controller on the S3C2410 and S3C2440 This enables the NAND flash controller on the S3C2410 and S3C2440
SoCs SoCs
...@@ -137,7 +134,7 @@ config MTD_NAND_S3C2410_HWECC ...@@ -137,7 +134,7 @@ config MTD_NAND_S3C2410_HWECC
config MTD_NAND_NDFC config MTD_NAND_NDFC
tristate "NDFC NanD Flash Controller" tristate "NDFC NanD Flash Controller"
depends on MTD_NAND && 44x depends on 44x
select MTD_NAND_ECC_SMC select MTD_NAND_ECC_SMC
help help
NDFC Nand Flash Controllers are integrated in EP44x SoCs NDFC Nand Flash Controllers are integrated in EP44x SoCs
...@@ -154,7 +151,7 @@ config MTD_NAND_S3C2410_CLKSTOP ...@@ -154,7 +151,7 @@ config MTD_NAND_S3C2410_CLKSTOP
config MTD_NAND_DISKONCHIP config MTD_NAND_DISKONCHIP
tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)" tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
depends on MTD_NAND && EXPERIMENTAL depends on EXPERIMENTAL
select REED_SOLOMON select REED_SOLOMON
select REED_SOLOMON_DEC16 select REED_SOLOMON_DEC16
help help
...@@ -224,11 +221,11 @@ config MTD_NAND_DISKONCHIP_BBTWRITE ...@@ -224,11 +221,11 @@ config MTD_NAND_DISKONCHIP_BBTWRITE
config MTD_NAND_SHARPSL config MTD_NAND_SHARPSL
tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)" tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)"
depends on MTD_NAND && ARCH_PXA depends on ARCH_PXA
config MTD_NAND_BASLER_EXCITE config MTD_NAND_BASLER_EXCITE
tristate "Support for NAND Flash on Basler eXcite" tristate "Support for NAND Flash on Basler eXcite"
depends on MTD_NAND && BASLER_EXCITE depends on BASLER_EXCITE
help help
This enables the driver for the NAND flash device found on the This enables the driver for the NAND flash device found on the
Basler eXcite Smart Camera. If built as a module, the driver Basler eXcite Smart Camera. If built as a module, the driver
...@@ -236,14 +233,14 @@ config MTD_NAND_BASLER_EXCITE ...@@ -236,14 +233,14 @@ config MTD_NAND_BASLER_EXCITE
config MTD_NAND_CAFE config MTD_NAND_CAFE
tristate "NAND support for OLPC CAFÉ chip" tristate "NAND support for OLPC CAFÉ chip"
depends on MTD_NAND && PCI depends on PCI
help help
Use NAND flash attached to the CAFÉ chip designed for the $100 Use NAND flash attached to the CAFÉ chip designed for the $100
laptop. laptop.
config MTD_NAND_CS553X config MTD_NAND_CS553X
tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)" tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)"
depends on MTD_NAND && X86_32 && (X86_PC || X86_GENERICARCH) depends on X86_32 && (X86_PC || X86_GENERICARCH)
help help
The CS553x companion chips for the AMD Geode processor The CS553x companion chips for the AMD Geode processor
include NAND flash controllers with built-in hardware ECC include NAND flash controllers with built-in hardware ECC
...@@ -256,16 +253,16 @@ config MTD_NAND_CS553X ...@@ -256,16 +253,16 @@ config MTD_NAND_CS553X
config MTD_NAND_AT91 config MTD_NAND_AT91
bool "Support for NAND Flash / SmartMedia on AT91" bool "Support for NAND Flash / SmartMedia on AT91"
depends on MTD_NAND && ARCH_AT91 depends on ARCH_AT91
help help
Enables support for NAND Flash / Smart Media Card interface Enables support for NAND Flash / Smart Media Card interface
on Atmel AT91 processors. on Atmel AT91 processors.
config MTD_NAND_NANDSIM config MTD_NAND_NANDSIM
tristate "Support for NAND Flash Simulator" tristate "Support for NAND Flash Simulator"
depends on MTD_NAND && MTD_PARTITIONS depends on MTD_PARTITIONS
help help
The simulator may simulate various NAND flash chips for the The simulator may simulate various NAND flash chips for the
MTD nand layer. MTD nand layer.
endmenu endif # MTD_NAND
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
# linux/drivers/mtd/onenand/Kconfig # linux/drivers/mtd/onenand/Kconfig
# #
menu "OneNAND Flash Device Drivers" menuconfig MTD_ONENAND
depends on MTD != n
config MTD_ONENAND
tristate "OneNAND Device Support" tristate "OneNAND Device Support"
depends on MTD depends on MTD
help help
...@@ -13,9 +10,10 @@ config MTD_ONENAND ...@@ -13,9 +10,10 @@ config MTD_ONENAND
devices. For further information see devices. For further information see
<http://www.samsung.com/Products/Semiconductor/Flash/OneNAND_TM/index.htm>. <http://www.samsung.com/Products/Semiconductor/Flash/OneNAND_TM/index.htm>.
if MTD_ONENAND
config MTD_ONENAND_VERIFY_WRITE config MTD_ONENAND_VERIFY_WRITE
bool "Verify OneNAND page writes" bool "Verify OneNAND page writes"
depends on MTD_ONENAND
help help
This adds an extra check when data is written to the flash. The This adds an extra check when data is written to the flash. The
OneNAND flash device internally checks only bits transitioning OneNAND flash device internally checks only bits transitioning
...@@ -25,13 +23,12 @@ config MTD_ONENAND_VERIFY_WRITE ...@@ -25,13 +23,12 @@ config MTD_ONENAND_VERIFY_WRITE
config MTD_ONENAND_GENERIC config MTD_ONENAND_GENERIC
tristate "OneNAND Flash device via platform device driver" tristate "OneNAND Flash device via platform device driver"
depends on MTD_ONENAND && ARM depends on ARM
help help
Support for OneNAND flash via platform device driver. Support for OneNAND flash via platform device driver.
config MTD_ONENAND_OTP config MTD_ONENAND_OTP
bool "OneNAND OTP Support" bool "OneNAND OTP Support"
depends on MTD_ONENAND
help help
One Block of the NAND Flash Array memory is reserved as One Block of the NAND Flash Array memory is reserved as
a One-Time Programmable Block memory area. a One-Time Programmable Block memory area.
...@@ -43,4 +40,4 @@ config MTD_ONENAND_OTP ...@@ -43,4 +40,4 @@ config MTD_ONENAND_OTP
OTP block is fully-guaranteed to be a valid block. OTP block is fully-guaranteed to be a valid block.
endmenu endif # MTD_ONENAND
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment