Blame view

drivers/mtd/devices/Kconfig 10.5 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
  # drivers/mtd/maps/Kconfig
e5580fbe8   Thomas Gleixner   [MTD] devices: Cl...
2
  # $Id: Kconfig,v 1.18 2005/11/07 11:14:24 gleixner Exp $
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
3
4
5
6
7
8
  
  menu "Self-contained MTD device drivers"
  	depends on MTD!=n
  
  config MTD_PMC551
  	tristate "Ramix PMC551 PCI Mezzanine RAM card support"
ec98c681a   Jan Engelhardt   Use menuconfig ob...
9
  	depends on PCI
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  	---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>.
  	  These devices come in memory configurations from 32M - 1G.  If you
  	  have one, you probably want to enable this.
  
  	  If this driver is compiled as a module you get the ability to select
  	  the size of the aperture window pointing into the devices memory.
  	  What this means is that if you have a 1G card, normally the kernel
  	  will use a 1G memory map as its view of the device.  As a module,
  	  you can select a 1M window into the memory and the driver will
  	  "slide" the window around the PMC551's memory.  This was
  	  particularly useful on the 2.2 kernels on PPC architectures as there
  	  was limited kernel space to deal with.
  
  config MTD_PMC551_BUGFIX
  	bool "PMC551 256M DRAM Bugfix"
  	depends on MTD_PMC551
  	help
  	  Some of Ramix's PMC551 boards with 256M configurations have invalid
  	  column and row mux values.  This option will fix them, but will
  	  break other memory configurations.  If unsure say N.
  
  config MTD_PMC551_DEBUG
  	bool "PMC551 Debugging"
  	depends on MTD_PMC551
  	help
  	  This option makes the PMC551 more verbose during its operation and
  	  is only really useful if you are developing on this driver or
  	  suspect a possible hardware or driver bug.  If unsure say N.
  
  config MTD_MS02NV
  	tristate "DEC MS02-NV NVRAM module support"
ec98c681a   Jan Engelhardt   Use menuconfig ob...
43
  	depends on MACH_DECSTATION
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
44
45
46
47
48
  	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.
be21ce119   Martin Michlmayr   Re-add module des...
49
50
  	  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),
39f5fb303   Alexander E. Patrakov   kconfig: fix path...
51
52
  	  say M here and read <file:Documentation/kbuild/modules.txt>.
  	  The module will be called ms02-nv.ko.
be21ce119   Martin Michlmayr   Re-add module des...
53

1d6432fe1   David Brownell   [PATCH] spi: mtd ...
54
55
  config MTD_DATAFLASH
  	tristate "Support for AT45xxx DataFlash"
ec98c681a   Jan Engelhardt   Use menuconfig ob...
56
  	depends on SPI_MASTER && EXPERIMENTAL
1d6432fe1   David Brownell   [PATCH] spi: mtd ...
57
58
59
60
  	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.
2f9f76287   Mike Lavender   [PATCH] spi: M25 ...
61
  config MTD_M25P80
fa0a8c71f   David Brownell   [MTD] m25p80 hand...
62
  	tristate "Support most SPI Flash chips (AT26DF, M25P, W25X, ...)"
ec98c681a   Jan Engelhardt   Use menuconfig ob...
63
  	depends on SPI_MASTER && EXPERIMENTAL
2f9f76287   Mike Lavender   [PATCH] spi: M25 ...
64
  	help
fa0a8c71f   David Brownell   [MTD] m25p80 hand...
65
66
67
68
69
70
71
72
73
74
75
76
  	  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.
2f9f76287   Mike Lavender   [PATCH] spi: M25 ...
77

2230b76b3   Bryan Wu   [MTD] m25p80: add...
78
79
80
81
82
83
  config M25PXX_USE_FAST_READ
  	bool "Use FAST_READ OPCode allowing SPI CLK <= 50MHz"
  	depends on MTD_M25P80
  	default y
  	help
  	  This option enables FAST_READ access supported by ST M25Pxx.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
84
85
  config MTD_SLRAM
  	tristate "Uncached system RAM"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
86
87
88
89
90
91
92
  	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
  	  present it to the system as a Memory Technology Device.
  
  config MTD_PHRAM
  	tristate "Physical system RAM"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
93
94
95
96
97
98
99
100
101
  	help
  	  This is a re-implementation of the slram driver above.
  
  	  Use this driver to access physical memory that the kernel proper
  	  doesn't have access to, memory beyond the mem=xxx limit, nvram,
  	  memory on the video card, etc...
  
  config MTD_LART
  	tristate "28F160xx flash driver for LART"
ec98c681a   Jan Engelhardt   Use menuconfig ob...
102
  	depends on SA1100_LART
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
103
104
105
106
107
108
109
  	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
  	  for you, so go disable all of those if you enabled some of them (:
  
  config MTD_MTDRAM
  	tristate "Test driver using RAM"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
  	help
  	  This enables a test MTD device driver which uses vmalloc() to
  	  provide storage.  You probably want to say 'N' unless you're
  	  testing stuff.
  
  config MTDRAM_TOTAL_SIZE
  	int "MTDRAM device size in KiB"
  	depends on MTD_MTDRAM
  	default "4096"
  	help
  	  This allows you to configure the total size of the MTD device
  	  emulated by the MTDRAM driver.  If the MTDRAM driver is built
  	  as a module, it is also possible to specify this as a parameter when
  	  loading the module.
  
  config MTDRAM_ERASE_SIZE
  	int "MTDRAM erase block size in KiB"
  	depends on MTD_MTDRAM
  	default "128"
  	help
  	  This allows you to configure the size of the erase blocks in the
  	  device emulated by the MTDRAM driver.  If the MTDRAM driver is built
  	  as a module, it is also possible to specify this as a parameter when
  	  loading the module.
  
  #If not a module (I don't want to test it as a module)
  config MTDRAM_ABS_POS
  	hex "SRAM Hexadecimal Absolute position or 0"
  	depends on MTD_MTDRAM=y
  	default "0"
  	help
  	  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
e5580fbe8   Thomas Gleixner   [MTD] devices: Cl...
144
  	  allocating space from Linux's available memory. Otherwise, leave
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
145
  	  this set to zero. Most people will want to leave this as zero.
acc8dadc0   Joern Engel   [PATCH] Remove bl...
146
147
  config MTD_BLOCK2MTD
  	tristate "MTD using block device"
ec98c681a   Jan Engelhardt   Use menuconfig ob...
148
  	depends on BLOCK
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
149
150
151
152
153
154
155
156
  	help
  	  This driver allows a block device to appear as an MTD. It would
  	  generally be used in the following cases:
  
  	  Using Compact Flash as an MTD, these usually present themselves to
  	  the system as an ATA drive.
  	  Testing MTD users (eg JFFS2) on large media and media that might
  	  be removed during a write (using the floppy drive).
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
157
158
159
160
  comment "Disk-On-Chip Device Drivers"
  
  config MTD_DOC2000
  	tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
  	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
  	  2000, it also now includes support for the DiskOnChip Millennium.
  	  If you have problems with this driver and the DiskOnChip Millennium,
  	  you may wish to try the alternative Millennium driver below. To use
  	  the alternative driver, you will need to undefine DOC_SINGLE_DRIVER
  	  in the <file:drivers/mtd/devices/docprobe.c> source code.
  
  	  If you use this device, you probably also want to enable the NFTL
  	  'NAND Flash Translation Layer' option below, which is used to
  	  emulate a block device by using a kind of file system on the flash
  	  chips.
  
  	  NOTE: This driver is deprecated and will probably be removed soon.
  	  Please try the new DiskOnChip driver under "NAND Flash Device
  	  Drivers".
  
  config MTD_DOC2001
  	tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
183
184
185
  	select MTD_DOCPROBE
  	select MTD_NAND_IDS
  	---help---
e5580fbe8   Thomas Gleixner   [MTD] devices: Cl...
186
  	  This provides an alternative MTD device driver for the M-Systems
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
  	  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
  	  the other one, you will need to undefine DOC_SINGLE_DRIVER near
  	  the beginning of <file:drivers/mtd/devices/docprobe.c>.
  
  	  If you use this device, you probably also want to enable the NFTL
  	  'NAND Flash Translation Layer' option below, which is used to
  	  emulate a block device by using a kind of file system on the flash
  	  chips.
  
  	  NOTE: This driver is deprecated and will probably be removed soon.
  	  Please try the new DiskOnChip driver under "NAND Flash Device
  	  Drivers".
  
  config MTD_DOC2001PLUS
  	tristate "M-Systems Disk-On-Chip Millennium Plus"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
204
205
206
207
208
209
210
211
  	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
e5580fbe8   Thomas Gleixner   [MTD] devices: Cl...
212
  	  to emulate a block device by using a kind of file system on the
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
  	  flash chips.
  
  	  NOTE: This driver will soon be replaced by the new DiskOnChip driver
  	  under "NAND Flash Device Drivers" (currently that driver does not
  	  support all Millennium Plus devices).
  
  config MTD_DOCPROBE
  	tristate
  	select MTD_DOCECC
  
  config MTD_DOCECC
  	tristate
  
  config MTD_DOCPROBE_ADVANCED
  	bool "Advanced detection options for DiskOnChip"
  	depends on MTD_DOCPROBE
  	help
  	  This option allows you to specify nonstandard address at which to
  	  probe for a DiskOnChip, or to change the detection options.  You
  	  are unlikely to need any of this unless you are using LinuxBIOS.
  	  Say 'N'.
  
  config MTD_DOCPROBE_ADDRESS
  	hex "Physical address of DiskOnChip" if MTD_DOCPROBE_ADVANCED
  	depends on MTD_DOCPROBE
  	default "0x0000" if MTD_DOCPROBE_ADVANCED
  	default "0" if !MTD_DOCPROBE_ADVANCED
  	---help---
  	  By default, the probe for DiskOnChip devices will look for a
  	  DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
  	  This option allows you to specify a single address at which to probe
  	  for the device, which is useful if you have other devices in that
  	  range which get upset when they are probed.
  
  	  (Note that on PowerPC, the normal probe will only check at
  	  0xE4000000.)
  
  	  Normally, you should leave this set to zero, to allow the probe at
  	  the normal addresses.
  
  config MTD_DOCPROBE_HIGH
  	bool "Probe high addresses"
  	depends on MTD_DOCPROBE_ADVANCED
  	help
  	  By default, the probe for DiskOnChip devices will look for a
  	  DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
  	  This option changes to make it probe between 0xFFFC8000 and
  	  0xFFFEE000.  Unless you are using LinuxBIOS, this is unlikely to be
  	  useful to you.  Say 'N'.
  
  config MTD_DOCPROBE_55AA
  	bool "Probe for 0x55 0xAA BIOS Extension Signature"
  	depends on MTD_DOCPROBE_ADVANCED
  	help
  	  Check for the 0x55 0xAA signature of a DiskOnChip, and do not
  	  continue with probing if it is absent.  The signature will always be
  	  present for a DiskOnChip 2000 or a normal DiskOnChip Millennium.
  	  Only if you have overwritten the first block of a DiskOnChip
  	  Millennium will it be absent.  Enable this option if you are using
  	  LinuxBIOS or if you need to recover a DiskOnChip Millennium on which
  	  you have managed to wipe the first block.
  
  endmenu