diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2007-04-19 17:21:41 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-04-19 17:21:41 -0400 |
commit | ec98c681a5355469eee70227b7e0a88f0d688483 (patch) | |
tree | aa3704fde25d0428755d15ff89e8e1ffb24624f7 | |
parent | 99f9b2431ed3da4a66cf1cfe74132a53a9569bba (diff) |
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: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r-- | drivers/mtd/Kconfig | 30 | ||||
-rw-r--r-- | drivers/mtd/chips/Kconfig | 12 | ||||
-rw-r--r-- | drivers/mtd/devices/Kconfig | 18 | ||||
-rw-r--r-- | drivers/mtd/maps/Kconfig | 8 | ||||
-rw-r--r-- | drivers/mtd/nand/Kconfig | 49 | ||||
-rw-r--r-- | drivers/mtd/onenand/Kconfig | 13 |
6 files changed, 52 insertions, 78 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 26f75c299440..fedf9b7eae5d 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig | |||
@@ -1,8 +1,6 @@ | |||
1 | # $Id: Kconfig,v 1.11 2005/11/07 11:14:19 gleixner Exp $ | 1 | # $Id: Kconfig,v 1.11 2005/11/07 11:14:19 gleixner Exp $ |
2 | 2 | ||
3 | menu "Memory Technology Devices (MTD)" | 3 | menuconfig MTD |
4 | |||
5 | config MTD | ||
6 | tristate "Memory Technology Device (MTD) support" | 4 | tristate "Memory Technology Device (MTD) support" |
7 | help | 5 | help |
8 | Memory Technology Devices are flash, RAM and similar chips, often | 6 | Memory Technology Devices are flash, RAM and similar chips, often |
@@ -13,9 +11,10 @@ config MTD | |||
13 | them. It will also allow you to select individual drivers for | 11 | them. It will also allow you to select individual drivers for |
14 | particular hardware and users of MTD devices. If unsure, say N. | 12 | particular hardware and users of MTD devices. If unsure, say N. |
15 | 13 | ||
14 | if MTD | ||
15 | |||
16 | config MTD_DEBUG | 16 | config MTD_DEBUG |
17 | bool "Debugging" | 17 | bool "Debugging" |
18 | depends on MTD | ||
19 | help | 18 | help |
20 | This turns on low-level debugging for the entire MTD sub-system. | 19 | This turns on low-level debugging for the entire MTD sub-system. |
21 | Normally, you should say 'N'. | 20 | Normally, you should say 'N'. |
@@ -29,7 +28,6 @@ config MTD_DEBUG_VERBOSE | |||
29 | 28 | ||
30 | config MTD_CONCAT | 29 | config MTD_CONCAT |
31 | tristate "MTD concatenating support" | 30 | tristate "MTD concatenating support" |
32 | depends on MTD | ||
33 | help | 31 | help |
34 | Support for concatenating several MTD devices into a single | 32 | Support for concatenating several MTD devices into a single |
35 | (virtual) one. This allows you to have -for example- a JFFS(2) | 33 | (virtual) one. This allows you to have -for example- a JFFS(2) |
@@ -38,7 +36,6 @@ config MTD_CONCAT | |||
38 | 36 | ||
39 | config MTD_PARTITIONS | 37 | config MTD_PARTITIONS |
40 | bool "MTD partitioning support" | 38 | bool "MTD partitioning support" |
41 | depends on MTD | ||
42 | help | 39 | help |
43 | If you have a device which needs to divide its flash chip(s) up | 40 | If you have a device which needs to divide its flash chip(s) up |
44 | into multiple 'partitions', each of which appears to the user as | 41 | into multiple 'partitions', each of which appears to the user as |
@@ -153,11 +150,9 @@ config MTD_AFS_PARTS | |||
153 | 'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example. | 150 | 'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example. |
154 | 151 | ||
155 | comment "User Modules And Translation Layers" | 152 | comment "User Modules And Translation Layers" |
156 | depends on MTD | ||
157 | 153 | ||
158 | config MTD_CHAR | 154 | config MTD_CHAR |
159 | tristate "Direct char device access to MTD devices" | 155 | tristate "Direct char device access to MTD devices" |
160 | depends on MTD | ||
161 | help | 156 | help |
162 | This provides a character device for each MTD device present in | 157 | This provides a character device for each MTD device present in |
163 | the system, allowing the user to read and write directly to the | 158 | the system, allowing the user to read and write directly to the |
@@ -166,12 +161,12 @@ config MTD_CHAR | |||
166 | 161 | ||
167 | config MTD_BLKDEVS | 162 | config MTD_BLKDEVS |
168 | tristate "Common interface to block layer for MTD 'translation layers'" | 163 | tristate "Common interface to block layer for MTD 'translation layers'" |
169 | depends on MTD && BLOCK | 164 | depends on BLOCK |
170 | default n | 165 | default n |
171 | 166 | ||
172 | config MTD_BLOCK | 167 | config MTD_BLOCK |
173 | tristate "Caching block device access to MTD devices" | 168 | tristate "Caching block device access to MTD devices" |
174 | depends on MTD && BLOCK | 169 | depends on BLOCK |
175 | select MTD_BLKDEVS | 170 | select MTD_BLKDEVS |
176 | ---help--- | 171 | ---help--- |
177 | Although most flash chips have an erase size too large to be useful | 172 | Although most flash chips have an erase size too large to be useful |
@@ -194,7 +189,7 @@ config MTD_BLOCK | |||
194 | 189 | ||
195 | config MTD_BLOCK_RO | 190 | config MTD_BLOCK_RO |
196 | tristate "Readonly block device access to MTD devices" | 191 | tristate "Readonly block device access to MTD devices" |
197 | depends on MTD_BLOCK!=y && MTD && BLOCK | 192 | depends on MTD_BLOCK!=y && BLOCK |
198 | select MTD_BLKDEVS | 193 | select MTD_BLKDEVS |
199 | help | 194 | help |
200 | This allows you to mount read-only file systems (such as cramfs) | 195 | This allows you to mount read-only file systems (such as cramfs) |
@@ -206,7 +201,7 @@ config MTD_BLOCK_RO | |||
206 | 201 | ||
207 | config FTL | 202 | config FTL |
208 | tristate "FTL (Flash Translation Layer) support" | 203 | tristate "FTL (Flash Translation Layer) support" |
209 | depends on MTD && BLOCK | 204 | depends on BLOCK |
210 | select MTD_BLKDEVS | 205 | select MTD_BLKDEVS |
211 | ---help--- | 206 | ---help--- |
212 | This provides support for the original Flash Translation Layer which | 207 | This provides support for the original Flash Translation Layer which |
@@ -223,7 +218,7 @@ config FTL | |||
223 | 218 | ||
224 | config NFTL | 219 | config NFTL |
225 | tristate "NFTL (NAND Flash Translation Layer) support" | 220 | tristate "NFTL (NAND Flash Translation Layer) support" |
226 | depends on MTD && BLOCK | 221 | depends on BLOCK |
227 | select MTD_BLKDEVS | 222 | select MTD_BLKDEVS |
228 | ---help--- | 223 | ---help--- |
229 | This provides support for the NAND Flash Translation Layer which is | 224 | This provides support for the NAND Flash Translation Layer which is |
@@ -247,7 +242,7 @@ config NFTL_RW | |||
247 | 242 | ||
248 | config INFTL | 243 | config INFTL |
249 | tristate "INFTL (Inverse NAND Flash Translation Layer) support" | 244 | tristate "INFTL (Inverse NAND Flash Translation Layer) support" |
250 | depends on MTD && BLOCK | 245 | depends on BLOCK |
251 | select MTD_BLKDEVS | 246 | select MTD_BLKDEVS |
252 | ---help--- | 247 | ---help--- |
253 | This provides support for the Inverse NAND Flash Translation | 248 | This provides support for the Inverse NAND Flash Translation |
@@ -265,7 +260,7 @@ config INFTL | |||
265 | 260 | ||
266 | config RFD_FTL | 261 | config RFD_FTL |
267 | tristate "Resident Flash Disk (Flash Translation Layer) support" | 262 | tristate "Resident Flash Disk (Flash Translation Layer) support" |
268 | depends on MTD && BLOCK | 263 | depends on BLOCK |
269 | select MTD_BLKDEVS | 264 | select MTD_BLKDEVS |
270 | ---help--- | 265 | ---help--- |
271 | This provides support for the flash translation layer known | 266 | This provides support for the flash translation layer known |
@@ -276,7 +271,7 @@ config RFD_FTL | |||
276 | 271 | ||
277 | config SSFDC | 272 | config SSFDC |
278 | tristate "NAND SSFDC (SmartMedia) read only translation layer" | 273 | tristate "NAND SSFDC (SmartMedia) read only translation layer" |
279 | depends on MTD && BLOCK | 274 | depends on BLOCK |
280 | select MTD_BLKDEVS | 275 | select MTD_BLKDEVS |
281 | help | 276 | help |
282 | This enables read only access to SmartMedia formatted NAND | 277 | This enables read only access to SmartMedia formatted NAND |
@@ -292,5 +287,4 @@ source "drivers/mtd/nand/Kconfig" | |||
292 | 287 | ||
293 | source "drivers/mtd/onenand/Kconfig" | 288 | source "drivers/mtd/onenand/Kconfig" |
294 | 289 | ||
295 | endmenu | 290 | endif # MTD |
296 | |||
diff --git a/drivers/mtd/chips/Kconfig b/drivers/mtd/chips/Kconfig index 72e6d73beb40..d28e0fc85e12 100644 --- a/drivers/mtd/chips/Kconfig +++ b/drivers/mtd/chips/Kconfig | |||
@@ -6,7 +6,6 @@ menu "RAM/ROM/Flash chip drivers" | |||
6 | 6 | ||
7 | config MTD_CFI | 7 | config MTD_CFI |
8 | tristate "Detect flash chips by Common Flash Interface (CFI) probe" | 8 | tristate "Detect flash chips by Common Flash Interface (CFI) probe" |
9 | depends on MTD | ||
10 | select MTD_GEN_PROBE | 9 | select MTD_GEN_PROBE |
11 | help | 10 | help |
12 | The Common Flash Interface specification was developed by Intel, | 11 | The Common Flash Interface specification was developed by Intel, |
@@ -18,7 +17,6 @@ config MTD_CFI | |||
18 | 17 | ||
19 | config MTD_JEDECPROBE | 18 | config MTD_JEDECPROBE |
20 | tristate "Detect non-CFI AMD/JEDEC-compatible flash chips" | 19 | tristate "Detect non-CFI AMD/JEDEC-compatible flash chips" |
21 | depends on MTD | ||
22 | select MTD_GEN_PROBE | 20 | select MTD_GEN_PROBE |
23 | help | 21 | help |
24 | This option enables JEDEC-style probing of flash chips which are not | 22 | This option enables JEDEC-style probing of flash chips which are not |
@@ -213,21 +211,18 @@ config MTD_CFI_UTIL | |||
213 | 211 | ||
214 | config MTD_RAM | 212 | config MTD_RAM |
215 | tristate "Support for RAM chips in bus mapping" | 213 | tristate "Support for RAM chips in bus mapping" |
216 | depends on MTD | ||
217 | help | 214 | help |
218 | This option enables basic support for RAM chips accessed through | 215 | This option enables basic support for RAM chips accessed through |
219 | a bus mapping driver. | 216 | a bus mapping driver. |
220 | 217 | ||
221 | config MTD_ROM | 218 | config MTD_ROM |
222 | tristate "Support for ROM chips in bus mapping" | 219 | tristate "Support for ROM chips in bus mapping" |
223 | depends on MTD | ||
224 | help | 220 | help |
225 | This option enables basic support for ROM chips accessed through | 221 | This option enables basic support for ROM chips accessed through |
226 | a bus mapping driver. | 222 | a bus mapping driver. |
227 | 223 | ||
228 | config MTD_ABSENT | 224 | config MTD_ABSENT |
229 | tristate "Support for absent chips in bus mapping" | 225 | tristate "Support for absent chips in bus mapping" |
230 | depends on MTD | ||
231 | help | 226 | help |
232 | This option enables support for a dummy probing driver used to | 227 | This option enables support for a dummy probing driver used to |
233 | allocated placeholder MTD devices on systems that have socketed | 228 | allocated placeholder MTD devices on systems that have socketed |
@@ -237,7 +232,6 @@ config MTD_ABSENT | |||
237 | with this driver will return -ENODEV upon access. | 232 | with this driver will return -ENODEV upon access. |
238 | 233 | ||
239 | config MTD_OBSOLETE_CHIPS | 234 | config MTD_OBSOLETE_CHIPS |
240 | depends on MTD | ||
241 | bool "Older (theoretically obsoleted now) drivers for non-CFI chips" | 235 | bool "Older (theoretically obsoleted now) drivers for non-CFI chips" |
242 | help | 236 | help |
243 | This option does not enable any code directly, but will allow you to | 237 | This option does not enable any code directly, but will allow you to |
@@ -250,7 +244,7 @@ config MTD_OBSOLETE_CHIPS | |||
250 | 244 | ||
251 | config MTD_AMDSTD | 245 | config MTD_AMDSTD |
252 | tristate "AMD compatible flash chip support (non-CFI)" | 246 | tristate "AMD compatible flash chip support (non-CFI)" |
253 | depends on MTD && MTD_OBSOLETE_CHIPS && BROKEN | 247 | depends on MTD_OBSOLETE_CHIPS && BROKEN |
254 | help | 248 | help |
255 | This option enables support for flash chips using AMD-compatible | 249 | This option enables support for flash chips using AMD-compatible |
256 | commands, including some which are not CFI-compatible and hence | 250 | commands, including some which are not CFI-compatible and hence |
@@ -260,7 +254,7 @@ config MTD_AMDSTD | |||
260 | 254 | ||
261 | config MTD_SHARP | 255 | config MTD_SHARP |
262 | tristate "pre-CFI Sharp chip support" | 256 | tristate "pre-CFI Sharp chip support" |
263 | depends on MTD && MTD_OBSOLETE_CHIPS | 257 | depends on MTD_OBSOLETE_CHIPS |
264 | help | 258 | help |
265 | This option enables support for flash chips using Sharp-compatible | 259 | This option enables support for flash chips using Sharp-compatible |
266 | commands, including some which are not CFI-compatible and hence | 260 | commands, including some which are not CFI-compatible and hence |
@@ -268,7 +262,7 @@ config MTD_SHARP | |||
268 | 262 | ||
269 | config MTD_JEDEC | 263 | config MTD_JEDEC |
270 | tristate "JEDEC device support" | 264 | tristate "JEDEC device support" |
271 | depends on MTD && MTD_OBSOLETE_CHIPS && BROKEN | 265 | depends on MTD_OBSOLETE_CHIPS && BROKEN |
272 | help | 266 | help |
273 | Enable older JEDEC flash interface devices for self | 267 | Enable older JEDEC flash interface devices for self |
274 | programming flash. It is commonly used in older AMD chips. It is | 268 | programming flash. It is commonly used in older AMD chips. It is |
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig index bef0f0d2c28e..690c94236d7f 100644 --- a/drivers/mtd/devices/Kconfig +++ b/drivers/mtd/devices/Kconfig | |||
@@ -6,7 +6,7 @@ menu "Self-contained MTD device drivers" | |||
6 | 6 | ||
7 | config MTD_PMC551 | 7 | config MTD_PMC551 |
8 | tristate "Ramix PMC551 PCI Mezzanine RAM card support" | 8 | tristate "Ramix PMC551 PCI Mezzanine RAM card support" |
9 | depends on MTD && PCI | 9 | depends on PCI |
10 | ---help--- | 10 | ---help--- |
11 | This provides a MTD device driver for the Ramix PMC551 RAM PCI card | 11 | This provides a MTD device driver for the Ramix PMC551 RAM PCI card |
12 | from Ramix Inc. <http://www.ramix.com/products/memory/pmc551.html>. | 12 | from Ramix Inc. <http://www.ramix.com/products/memory/pmc551.html>. |
@@ -40,7 +40,7 @@ config MTD_PMC551_DEBUG | |||
40 | 40 | ||
41 | config MTD_MS02NV | 41 | config MTD_MS02NV |
42 | tristate "DEC MS02-NV NVRAM module support" | 42 | tristate "DEC MS02-NV NVRAM module support" |
43 | depends on MTD && MACH_DECSTATION | 43 | depends on MACH_DECSTATION |
44 | help | 44 | help |
45 | This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery | 45 | This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery |
46 | backed-up NVRAM module. The module was originally meant as an NFS | 46 | backed-up NVRAM module. The module was originally meant as an NFS |
@@ -54,7 +54,7 @@ config MTD_MS02NV | |||
54 | 54 | ||
55 | config MTD_DATAFLASH | 55 | config MTD_DATAFLASH |
56 | tristate "Support for AT45xxx DataFlash" | 56 | tristate "Support for AT45xxx DataFlash" |
57 | depends on MTD && SPI_MASTER && EXPERIMENTAL | 57 | depends on SPI_MASTER && EXPERIMENTAL |
58 | help | 58 | help |
59 | This enables access to AT45xxx DataFlash chips, using SPI. | 59 | This enables access to AT45xxx DataFlash chips, using SPI. |
60 | Sometimes DataFlash chips are packaged inside MMC-format | 60 | Sometimes DataFlash chips are packaged inside MMC-format |
@@ -70,7 +70,7 @@ config MTD_DATAFLASH26 | |||
70 | 70 | ||
71 | config MTD_M25P80 | 71 | config MTD_M25P80 |
72 | tristate "Support for M25 SPI Flash" | 72 | tristate "Support for M25 SPI Flash" |
73 | depends on MTD && SPI_MASTER && EXPERIMENTAL | 73 | depends on SPI_MASTER && EXPERIMENTAL |
74 | help | 74 | help |
75 | This enables access to ST M25P80 and similar SPI flash chips, | 75 | This enables access to ST M25P80 and similar SPI flash chips, |
76 | used for program and data storage. Set up your spi devices | 76 | used for program and data storage. Set up your spi devices |
@@ -78,7 +78,6 @@ config MTD_M25P80 | |||
78 | 78 | ||
79 | config MTD_SLRAM | 79 | config MTD_SLRAM |
80 | tristate "Uncached system RAM" | 80 | tristate "Uncached system RAM" |
81 | depends on MTD | ||
82 | help | 81 | help |
83 | If your CPU cannot cache all of the physical memory in your machine, | 82 | If your CPU cannot cache all of the physical memory in your machine, |
84 | you can still use it for storage or swap by using this driver to | 83 | you can still use it for storage or swap by using this driver to |
@@ -86,7 +85,6 @@ config MTD_SLRAM | |||
86 | 85 | ||
87 | config MTD_PHRAM | 86 | config MTD_PHRAM |
88 | tristate "Physical system RAM" | 87 | tristate "Physical system RAM" |
89 | depends on MTD | ||
90 | help | 88 | help |
91 | This is a re-implementation of the slram driver above. | 89 | This is a re-implementation of the slram driver above. |
92 | 90 | ||
@@ -96,7 +94,7 @@ config MTD_PHRAM | |||
96 | 94 | ||
97 | config MTD_LART | 95 | config MTD_LART |
98 | tristate "28F160xx flash driver for LART" | 96 | tristate "28F160xx flash driver for LART" |
99 | depends on SA1100_LART && MTD | 97 | depends on SA1100_LART |
100 | help | 98 | help |
101 | This enables the flash driver for LART. Please note that you do | 99 | This enables the flash driver for LART. Please note that you do |
102 | not need any mapping/chip driver for LART. This one does it all | 100 | not need any mapping/chip driver for LART. This one does it all |
@@ -104,7 +102,6 @@ config MTD_LART | |||
104 | 102 | ||
105 | config MTD_MTDRAM | 103 | config MTD_MTDRAM |
106 | tristate "Test driver using RAM" | 104 | tristate "Test driver using RAM" |
107 | depends on MTD | ||
108 | help | 105 | help |
109 | This enables a test MTD device driver which uses vmalloc() to | 106 | This enables a test MTD device driver which uses vmalloc() to |
110 | provide storage. You probably want to say 'N' unless you're | 107 | provide storage. You probably want to say 'N' unless you're |
@@ -144,7 +141,7 @@ config MTDRAM_ABS_POS | |||
144 | 141 | ||
145 | config MTD_BLOCK2MTD | 142 | config MTD_BLOCK2MTD |
146 | tristate "MTD using block device" | 143 | tristate "MTD using block device" |
147 | depends on MTD && BLOCK | 144 | depends on BLOCK |
148 | help | 145 | help |
149 | This driver allows a block device to appear as an MTD. It would | 146 | This driver allows a block device to appear as an MTD. It would |
150 | generally be used in the following cases: | 147 | generally be used in the following cases: |
@@ -158,7 +155,6 @@ comment "Disk-On-Chip Device Drivers" | |||
158 | 155 | ||
159 | config MTD_DOC2000 | 156 | config MTD_DOC2000 |
160 | tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)" | 157 | tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)" |
161 | depends on MTD | ||
162 | select MTD_DOCPROBE | 158 | select MTD_DOCPROBE |
163 | select MTD_NAND_IDS | 159 | select MTD_NAND_IDS |
164 | ---help--- | 160 | ---help--- |
@@ -181,7 +177,6 @@ config MTD_DOC2000 | |||
181 | 177 | ||
182 | config MTD_DOC2001 | 178 | config MTD_DOC2001 |
183 | tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)" | 179 | tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)" |
184 | depends on MTD | ||
185 | select MTD_DOCPROBE | 180 | select MTD_DOCPROBE |
186 | select MTD_NAND_IDS | 181 | select MTD_NAND_IDS |
187 | ---help--- | 182 | ---help--- |
@@ -203,7 +198,6 @@ config MTD_DOC2001 | |||
203 | 198 | ||
204 | config MTD_DOC2001PLUS | 199 | config MTD_DOC2001PLUS |
205 | tristate "M-Systems Disk-On-Chip Millennium Plus" | 200 | tristate "M-Systems Disk-On-Chip Millennium Plus" |
206 | depends on MTD | ||
207 | select MTD_DOCPROBE | 201 | select MTD_DOCPROBE |
208 | select MTD_NAND_IDS | 202 | select MTD_NAND_IDS |
209 | ---help--- | 203 | ---help--- |
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index 87158797a66f..d990d8141ef5 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -6,7 +6,6 @@ menu "Mapping drivers for chip access" | |||
6 | 6 | ||
7 | config MTD_COMPLEX_MAPPINGS | 7 | config MTD_COMPLEX_MAPPINGS |
8 | bool "Support non-linear mappings of flash chips" | 8 | bool "Support non-linear mappings of flash chips" |
9 | depends on MTD | ||
10 | help | 9 | help |
11 | This causes the chip drivers to allow for complicated | 10 | This causes the chip drivers to allow for complicated |
12 | paged mappings of flash chips. | 11 | paged mappings of flash chips. |
@@ -550,7 +549,7 @@ config MTD_OMAP_NOR | |||
550 | # This needs CFI or JEDEC, depending on the cards found. | 549 | # This needs CFI or JEDEC, depending on the cards found. |
551 | config MTD_PCI | 550 | config MTD_PCI |
552 | tristate "PCI MTD driver" | 551 | tristate "PCI MTD driver" |
553 | depends on MTD && PCI && MTD_COMPLEX_MAPPINGS | 552 | depends on PCI && MTD_COMPLEX_MAPPINGS |
554 | help | 553 | help |
555 | Mapping for accessing flash devices on add-in cards like the Intel XScale | 554 | Mapping for accessing flash devices on add-in cards like the Intel XScale |
556 | IQ80310 card, and the Intel EBSA285 card in blank ROM programming mode | 555 | IQ80310 card, and the Intel EBSA285 card in blank ROM programming mode |
@@ -560,7 +559,7 @@ config MTD_PCI | |||
560 | 559 | ||
561 | config MTD_PCMCIA | 560 | config MTD_PCMCIA |
562 | tristate "PCMCIA MTD driver" | 561 | tristate "PCMCIA MTD driver" |
563 | depends on MTD && PCMCIA && MTD_COMPLEX_MAPPINGS && BROKEN | 562 | depends on PCMCIA && MTD_COMPLEX_MAPPINGS && BROKEN |
564 | help | 563 | help |
565 | Map driver for accessing PCMCIA linear flash memory cards. These | 564 | Map driver for accessing PCMCIA linear flash memory cards. These |
566 | cards are usually around 4-16MiB in size. This does not include | 565 | cards are usually around 4-16MiB in size. This does not include |
@@ -624,13 +623,12 @@ config MTD_BAST_MAXSIZE | |||
624 | 623 | ||
625 | config MTD_SHARP_SL | 624 | config MTD_SHARP_SL |
626 | bool "ROM mapped on Sharp SL Series" | 625 | bool "ROM mapped on Sharp SL Series" |
627 | depends on MTD && ARCH_PXA | 626 | depends on ARCH_PXA |
628 | help | 627 | help |
629 | This enables access to the flash chip on the Sharp SL Series of PDAs. | 628 | This enables access to the flash chip on the Sharp SL Series of PDAs. |
630 | 629 | ||
631 | config MTD_PLATRAM | 630 | config MTD_PLATRAM |
632 | tristate "Map driver for platform device RAM (mtd-ram)" | 631 | tristate "Map driver for platform device RAM (mtd-ram)" |
633 | depends on MTD | ||
634 | select MTD_RAM | 632 | select MTD_RAM |
635 | help | 633 | help |
636 | Map driver for RAM areas described via the platform device | 634 | Map driver for RAM areas described via the platform device |
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 49cbf510cce1..4e62afe0c0f3 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
@@ -1,10 +1,7 @@ | |||
1 | # drivers/mtd/nand/Kconfig | 1 | # drivers/mtd/nand/Kconfig |
2 | # $Id: Kconfig,v 1.35 2005/11/07 11:14:30 gleixner Exp $ | 2 | # $Id: Kconfig,v 1.35 2005/11/07 11:14:30 gleixner Exp $ |
3 | 3 | ||
4 | menu "NAND Flash Device Drivers" | 4 | menuconfig MTD_NAND |
5 | depends on MTD!=n | ||
6 | |||
7 | config MTD_NAND | ||
8 | tristate "NAND Device Support" | 5 | tristate "NAND Device Support" |
9 | depends on MTD | 6 | depends on MTD |
10 | select MTD_NAND_IDS | 7 | select MTD_NAND_IDS |
@@ -13,9 +10,10 @@ config MTD_NAND | |||
13 | devices. For further information see | 10 | devices. For further information see |
14 | <http://www.linux-mtd.infradead.org/doc/nand.html>. | 11 | <http://www.linux-mtd.infradead.org/doc/nand.html>. |
15 | 12 | ||
13 | if MTD_NAND | ||
14 | |||
16 | config MTD_NAND_VERIFY_WRITE | 15 | config MTD_NAND_VERIFY_WRITE |
17 | bool "Verify NAND page writes" | 16 | bool "Verify NAND page writes" |
18 | depends on MTD_NAND | ||
19 | help | 17 | help |
20 | This adds an extra check when data is written to the flash. The | 18 | This adds an extra check when data is written to the flash. The |
21 | NAND flash device internally checks only bits transitioning | 19 | NAND flash device internally checks only bits transitioning |
@@ -25,7 +23,6 @@ config MTD_NAND_VERIFY_WRITE | |||
25 | 23 | ||
26 | config MTD_NAND_ECC_SMC | 24 | config MTD_NAND_ECC_SMC |
27 | bool "NAND ECC Smart Media byte order" | 25 | bool "NAND ECC Smart Media byte order" |
28 | depends on MTD_NAND | ||
29 | default n | 26 | default n |
30 | help | 27 | help |
31 | Software ECC according to the Smart Media Specification. | 28 | Software ECC according to the Smart Media Specification. |
@@ -42,45 +39,45 @@ config MTD_NAND_MUSEUM_IDS | |||
42 | 39 | ||
43 | config MTD_NAND_AUTCPU12 | 40 | config MTD_NAND_AUTCPU12 |
44 | tristate "SmartMediaCard on autronix autcpu12 board" | 41 | tristate "SmartMediaCard on autronix autcpu12 board" |
45 | depends on MTD_NAND && ARCH_AUTCPU12 | 42 | depends on ARCH_AUTCPU12 |
46 | help | 43 | help |
47 | This enables the driver for the autronix autcpu12 board to | 44 | This enables the driver for the autronix autcpu12 board to |
48 | access the SmartMediaCard. | 45 | access the SmartMediaCard. |
49 | 46 | ||
50 | config MTD_NAND_EDB7312 | 47 | config MTD_NAND_EDB7312 |
51 | tristate "Support for Cirrus Logic EBD7312 evaluation board" | 48 | tristate "Support for Cirrus Logic EBD7312 evaluation board" |
52 | depends on MTD_NAND && ARCH_EDB7312 | 49 | depends on ARCH_EDB7312 |
53 | help | 50 | help |
54 | This enables the driver for the Cirrus Logic EBD7312 evaluation | 51 | This enables the driver for the Cirrus Logic EBD7312 evaluation |
55 | board to access the onboard NAND Flash. | 52 | board to access the onboard NAND Flash. |
56 | 53 | ||
57 | config MTD_NAND_H1900 | 54 | config MTD_NAND_H1900 |
58 | tristate "iPAQ H1900 flash" | 55 | tristate "iPAQ H1900 flash" |
59 | depends on MTD_NAND && ARCH_PXA && MTD_PARTITIONS | 56 | depends on ARCH_PXA && MTD_PARTITIONS |
60 | help | 57 | help |
61 | This enables the driver for the iPAQ h1900 flash. | 58 | This enables the driver for the iPAQ h1900 flash. |
62 | 59 | ||
63 | config MTD_NAND_SPIA | 60 | config MTD_NAND_SPIA |
64 | tristate "NAND Flash device on SPIA board" | 61 | tristate "NAND Flash device on SPIA board" |
65 | depends on ARCH_P720T && MTD_NAND | 62 | depends on ARCH_P720T |
66 | help | 63 | help |
67 | If you had to ask, you don't have one. Say 'N'. | 64 | If you had to ask, you don't have one. Say 'N'. |
68 | 65 | ||
69 | config MTD_NAND_AMS_DELTA | 66 | config MTD_NAND_AMS_DELTA |
70 | tristate "NAND Flash device on Amstrad E3" | 67 | tristate "NAND Flash device on Amstrad E3" |
71 | depends on MACH_AMS_DELTA && MTD_NAND | 68 | depends on MACH_AMS_DELTA |
72 | help | 69 | help |
73 | Support for NAND flash on Amstrad E3 (Delta). | 70 | Support for NAND flash on Amstrad E3 (Delta). |
74 | 71 | ||
75 | config MTD_NAND_TOTO | 72 | config MTD_NAND_TOTO |
76 | tristate "NAND Flash device on TOTO board" | 73 | tristate "NAND Flash device on TOTO board" |
77 | depends on ARCH_OMAP && MTD_NAND && BROKEN | 74 | depends on ARCH_OMAP && BROKEN |
78 | help | 75 | help |
79 | Support for NAND flash on Texas Instruments Toto platform. | 76 | Support for NAND flash on Texas Instruments Toto platform. |
80 | 77 | ||
81 | config MTD_NAND_TS7250 | 78 | config MTD_NAND_TS7250 |
82 | tristate "NAND Flash device on TS-7250 board" | 79 | tristate "NAND Flash device on TS-7250 board" |
83 | depends on MACH_TS72XX && MTD_NAND | 80 | depends on MACH_TS72XX |
84 | help | 81 | help |
85 | Support for NAND flash on Technologic Systems TS-7250 platform. | 82 | Support for NAND flash on Technologic Systems TS-7250 platform. |
86 | 83 | ||
@@ -89,14 +86,14 @@ config MTD_NAND_IDS | |||
89 | 86 | ||
90 | config MTD_NAND_AU1550 | 87 | config MTD_NAND_AU1550 |
91 | tristate "Au1550/1200 NAND support" | 88 | tristate "Au1550/1200 NAND support" |
92 | depends on (SOC_AU1200 || SOC_AU1550) && MTD_NAND | 89 | depends on SOC_AU1200 || SOC_AU1550 |
93 | help | 90 | help |
94 | This enables the driver for the NAND flash controller on the | 91 | This enables the driver for the NAND flash controller on the |
95 | AMD/Alchemy 1550 SOC. | 92 | AMD/Alchemy 1550 SOC. |
96 | 93 | ||
97 | config MTD_NAND_RTC_FROM4 | 94 | config MTD_NAND_RTC_FROM4 |
98 | tristate "Renesas Flash ROM 4-slot interface board (FROM_BOARD4)" | 95 | tristate "Renesas Flash ROM 4-slot interface board (FROM_BOARD4)" |
99 | depends on MTD_NAND && SH_SOLUTION_ENGINE | 96 | depends on SH_SOLUTION_ENGINE |
100 | select REED_SOLOMON | 97 | select REED_SOLOMON |
101 | select REED_SOLOMON_DEC8 | 98 | select REED_SOLOMON_DEC8 |
102 | select BITREVERSE | 99 | select BITREVERSE |
@@ -106,13 +103,13 @@ config MTD_NAND_RTC_FROM4 | |||
106 | 103 | ||
107 | config MTD_NAND_PPCHAMELEONEVB | 104 | config MTD_NAND_PPCHAMELEONEVB |
108 | tristate "NAND Flash device on PPChameleonEVB board" | 105 | tristate "NAND Flash device on PPChameleonEVB board" |
109 | depends on PPCHAMELEONEVB && MTD_NAND && BROKEN | 106 | depends on PPCHAMELEONEVB && BROKEN |
110 | help | 107 | help |
111 | This enables the NAND flash driver on the PPChameleon EVB Board. | 108 | This enables the NAND flash driver on the PPChameleon EVB Board. |
112 | 109 | ||
113 | config MTD_NAND_S3C2410 | 110 | config MTD_NAND_S3C2410 |
114 | tristate "NAND Flash support for S3C2410/S3C2440 SoC" | 111 | tristate "NAND Flash support for S3C2410/S3C2440 SoC" |
115 | depends on ARCH_S3C2410 && MTD_NAND | 112 | depends on ARCH_S3C2410 |
116 | help | 113 | help |
117 | This enables the NAND flash controller on the S3C2410 and S3C2440 | 114 | This enables the NAND flash controller on the S3C2410 and S3C2440 |
118 | SoCs | 115 | SoCs |
@@ -137,7 +134,7 @@ config MTD_NAND_S3C2410_HWECC | |||
137 | 134 | ||
138 | config MTD_NAND_NDFC | 135 | config MTD_NAND_NDFC |
139 | tristate "NDFC NanD Flash Controller" | 136 | tristate "NDFC NanD Flash Controller" |
140 | depends on MTD_NAND && 44x | 137 | depends on 44x |
141 | select MTD_NAND_ECC_SMC | 138 | select MTD_NAND_ECC_SMC |
142 | help | 139 | help |
143 | NDFC Nand Flash Controllers are integrated in EP44x SoCs | 140 | NDFC Nand Flash Controllers are integrated in EP44x SoCs |
@@ -154,7 +151,7 @@ config MTD_NAND_S3C2410_CLKSTOP | |||
154 | 151 | ||
155 | config MTD_NAND_DISKONCHIP | 152 | config MTD_NAND_DISKONCHIP |
156 | tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)" | 153 | tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)" |
157 | depends on MTD_NAND && EXPERIMENTAL | 154 | depends on EXPERIMENTAL |
158 | select REED_SOLOMON | 155 | select REED_SOLOMON |
159 | select REED_SOLOMON_DEC16 | 156 | select REED_SOLOMON_DEC16 |
160 | help | 157 | help |
@@ -224,11 +221,11 @@ config MTD_NAND_DISKONCHIP_BBTWRITE | |||
224 | 221 | ||
225 | config MTD_NAND_SHARPSL | 222 | config MTD_NAND_SHARPSL |
226 | tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)" | 223 | tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)" |
227 | depends on MTD_NAND && ARCH_PXA | 224 | depends on ARCH_PXA |
228 | 225 | ||
229 | config MTD_NAND_BASLER_EXCITE | 226 | config MTD_NAND_BASLER_EXCITE |
230 | tristate "Support for NAND Flash on Basler eXcite" | 227 | tristate "Support for NAND Flash on Basler eXcite" |
231 | depends on MTD_NAND && BASLER_EXCITE | 228 | depends on BASLER_EXCITE |
232 | help | 229 | help |
233 | This enables the driver for the NAND flash device found on the | 230 | This enables the driver for the NAND flash device found on the |
234 | Basler eXcite Smart Camera. If built as a module, the driver | 231 | Basler eXcite Smart Camera. If built as a module, the driver |
@@ -236,14 +233,14 @@ config MTD_NAND_BASLER_EXCITE | |||
236 | 233 | ||
237 | config MTD_NAND_CAFE | 234 | config MTD_NAND_CAFE |
238 | tristate "NAND support for OLPC CAFÉ chip" | 235 | tristate "NAND support for OLPC CAFÉ chip" |
239 | depends on MTD_NAND && PCI | 236 | depends on PCI |
240 | help | 237 | help |
241 | Use NAND flash attached to the CAFÉ chip designed for the $100 | 238 | Use NAND flash attached to the CAFÉ chip designed for the $100 |
242 | laptop. | 239 | laptop. |
243 | 240 | ||
244 | config MTD_NAND_CS553X | 241 | config MTD_NAND_CS553X |
245 | tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)" | 242 | tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)" |
246 | depends on MTD_NAND && X86_32 && (X86_PC || X86_GENERICARCH) | 243 | depends on X86_32 && (X86_PC || X86_GENERICARCH) |
247 | help | 244 | help |
248 | The CS553x companion chips for the AMD Geode processor | 245 | The CS553x companion chips for the AMD Geode processor |
249 | include NAND flash controllers with built-in hardware ECC | 246 | include NAND flash controllers with built-in hardware ECC |
@@ -256,16 +253,16 @@ config MTD_NAND_CS553X | |||
256 | 253 | ||
257 | config MTD_NAND_AT91 | 254 | config MTD_NAND_AT91 |
258 | bool "Support for NAND Flash / SmartMedia on AT91" | 255 | bool "Support for NAND Flash / SmartMedia on AT91" |
259 | depends on MTD_NAND && ARCH_AT91 | 256 | depends on ARCH_AT91 |
260 | help | 257 | help |
261 | Enables support for NAND Flash / Smart Media Card interface | 258 | Enables support for NAND Flash / Smart Media Card interface |
262 | on Atmel AT91 processors. | 259 | on Atmel AT91 processors. |
263 | 260 | ||
264 | config MTD_NAND_NANDSIM | 261 | config MTD_NAND_NANDSIM |
265 | tristate "Support for NAND Flash Simulator" | 262 | tristate "Support for NAND Flash Simulator" |
266 | depends on MTD_NAND && MTD_PARTITIONS | 263 | depends on MTD_PARTITIONS |
267 | help | 264 | help |
268 | The simulator may simulate various NAND flash chips for the | 265 | The simulator may simulate various NAND flash chips for the |
269 | MTD nand layer. | 266 | MTD nand layer. |
270 | 267 | ||
271 | endmenu | 268 | endif # MTD_NAND |
diff --git a/drivers/mtd/onenand/Kconfig b/drivers/mtd/onenand/Kconfig index 373bddce8f1c..e1503912f69e 100644 --- a/drivers/mtd/onenand/Kconfig +++ b/drivers/mtd/onenand/Kconfig | |||
@@ -2,10 +2,7 @@ | |||
2 | # linux/drivers/mtd/onenand/Kconfig | 2 | # linux/drivers/mtd/onenand/Kconfig |
3 | # | 3 | # |
4 | 4 | ||
5 | menu "OneNAND Flash Device Drivers" | 5 | menuconfig MTD_ONENAND |
6 | depends on MTD != n | ||
7 | |||
8 | config MTD_ONENAND | ||
9 | tristate "OneNAND Device Support" | 6 | tristate "OneNAND Device Support" |
10 | depends on MTD | 7 | depends on MTD |
11 | help | 8 | help |
@@ -13,9 +10,10 @@ config MTD_ONENAND | |||
13 | devices. For further information see | 10 | devices. For further information see |
14 | <http://www.samsung.com/Products/Semiconductor/Flash/OneNAND_TM/index.htm>. | 11 | <http://www.samsung.com/Products/Semiconductor/Flash/OneNAND_TM/index.htm>. |
15 | 12 | ||
13 | if MTD_ONENAND | ||
14 | |||
16 | config MTD_ONENAND_VERIFY_WRITE | 15 | config MTD_ONENAND_VERIFY_WRITE |
17 | bool "Verify OneNAND page writes" | 16 | bool "Verify OneNAND page writes" |
18 | depends on MTD_ONENAND | ||
19 | help | 17 | help |
20 | This adds an extra check when data is written to the flash. The | 18 | This adds an extra check when data is written to the flash. The |
21 | OneNAND flash device internally checks only bits transitioning | 19 | OneNAND flash device internally checks only bits transitioning |
@@ -25,13 +23,12 @@ config MTD_ONENAND_VERIFY_WRITE | |||
25 | 23 | ||
26 | config MTD_ONENAND_GENERIC | 24 | config MTD_ONENAND_GENERIC |
27 | tristate "OneNAND Flash device via platform device driver" | 25 | tristate "OneNAND Flash device via platform device driver" |
28 | depends on MTD_ONENAND && ARM | 26 | depends on ARM |
29 | help | 27 | help |
30 | Support for OneNAND flash via platform device driver. | 28 | Support for OneNAND flash via platform device driver. |
31 | 29 | ||
32 | config MTD_ONENAND_OTP | 30 | config MTD_ONENAND_OTP |
33 | bool "OneNAND OTP Support" | 31 | bool "OneNAND OTP Support" |
34 | depends on MTD_ONENAND | ||
35 | help | 32 | help |
36 | One Block of the NAND Flash Array memory is reserved as | 33 | One Block of the NAND Flash Array memory is reserved as |
37 | a One-Time Programmable Block memory area. | 34 | a One-Time Programmable Block memory area. |
@@ -43,4 +40,4 @@ config MTD_ONENAND_OTP | |||
43 | 40 | ||
44 | OTP block is fully-guaranteed to be a valid block. | 41 | OTP block is fully-guaranteed to be a valid block. |
45 | 42 | ||
46 | endmenu | 43 | endif # MTD_ONENAND |