diff options
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r-- | drivers/mtd/Kconfig | 30 |
1 files changed, 12 insertions, 18 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 | |||