]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/mtd/maps/Kconfig
Merge branch 'work.whack-a-mole' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / drivers / mtd / maps / Kconfig
CommitLineData
1da177e4
LT
1menu "Mapping drivers for chip access"
2 depends on MTD!=n
9310da0b 3 depends on HAS_IOMEM
1da177e4
LT
4
5config MTD_COMPLEX_MAPPINGS
6 bool "Support non-linear mappings of flash chips"
1da177e4
LT
7 help
8 This causes the chip drivers to allow for complicated
9 paged mappings of flash chips.
10
11config MTD_PHYSMAP
d8140830
AK
12 tristate "Flash device in physical memory map"
13 depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM || MTD_LPDDR
1da177e4 14 help
79b9cd58
TY
15 This provides a 'mapping' driver which allows the NOR Flash and
16 ROM driver code to communicate with chips which are mapped
17 physically into the CPU's memory. You will need to configure
18 the physical address and size of the flash chips on your
19 particular board as well as the bus width, either statically
1da177e4
LT
20 with config options or at run-time.
21
41bdf960
MF
22 To compile this driver as a module, choose M here: the
23 module will be called physmap.
24
dcb3e137
MF
25config MTD_PHYSMAP_COMPAT
26 bool "Physmap compat support"
27 depends on MTD_PHYSMAP
28 default n
29 help
30 Setup a simple mapping via the Kconfig options. Normally the
31 physmap configuration options are done via your board's
32 resource file.
33
34 If unsure, say N here.
35
1da177e4
LT
36config MTD_PHYSMAP_START
37 hex "Physical start address of flash mapping"
dcb3e137 38 depends on MTD_PHYSMAP_COMPAT
1da177e4
LT
39 default "0x8000000"
40 help
41 This is the physical memory location at which the flash chips
42 are mapped on your particular target board. Refer to the
43 memory map which should hopefully be in the documentation for
44 your board.
1da177e4
LT
45
46config MTD_PHYSMAP_LEN
47 hex "Physical length of flash mapping"
dcb3e137 48 depends on MTD_PHYSMAP_COMPAT
73566edf 49 default "0"
1da177e4
LT
50 help
51 This is the total length of the mapping of the flash chips on
52 your particular board. If there is space, or aliases, in the
53 physical memory map between the chips, this could be larger
54 than the total amount of flash present. Refer to the memory
55 map which should hopefully be in the documentation for your
56 board.
1da177e4
LT
57
58config MTD_PHYSMAP_BANKWIDTH
59 int "Bank width in octets"
dcb3e137 60 depends on MTD_PHYSMAP_COMPAT
1da177e4
LT
61 default "2"
62 help
63 This is the total width of the data bus of the flash devices
64 in octets. For example, if you have a data bus width of 32
01dd2fbf 65 bits, you would set the bus width octet value to 4. This is
1da177e4 66 used internally by the CFI drivers.
1da177e4 67
a2c2fe4b 68config MTD_PHYSMAP_OF
670b46aa
PDM
69 tristate "Memory device in physical memory map based on OF description"
70 depends on OF && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM || MTD_RAM)
a2c2fe4b 71 help
670b46aa
PDM
72 This provides a 'mapping' driver which allows the NOR Flash, ROM
73 and RAM driver code to communicate with chips which are mapped
a2c2fe4b
VW
74 physically into the CPU's memory. The mapping description here is
75 taken from OF device tree.
76
b0afd44b 77config MTD_PHYSMAP_OF_VERSATILE
56ff337e 78 bool "ARM Versatile OF-based physical memory map handling"
b0afd44b
LW
79 depends on MTD_PHYSMAP_OF
80 depends on MFD_SYSCON
8f2c0062 81 default y if (ARCH_INTEGRATOR || ARCH_VERSATILE || ARCH_REALVIEW)
b0afd44b
LW
82 help
83 This provides some extra DT physmap parsing for the ARM Versatile
84 platforms, basically to add a VPP (write protection) callback so
85 the flash can be taken out of write protection.
86
56ff337e
LW
87config MTD_PHYSMAP_OF_GEMINI
88 bool "Cortina Gemini OF-based physical memory map handling"
89 depends on MTD_PHYSMAP_OF
90 depends on MFD_SYSCON
91 default ARCH_GEMINI
92 help
93 This provides some extra DT physmap parsing for the Gemini
94 platforms, some detection and setting up parallel mode on the
95 external interface.
96
68aa0fa8
MSJ
97config MTD_PMC_MSP_EVM
98 tristate "CFI Flash device mapped on PMC-Sierra MSP"
99 depends on PMC_MSP && MTD_CFI
68aa0fa8 100 help
01dd2fbf
ML
101 This provides a 'mapping' driver which supports the way
102 in which user-programmable flash chips are connected on the
103 PMC-Sierra MSP eval/demo boards.
68aa0fa8
MSJ
104
105choice
01dd2fbf 106 prompt "Maximum mappable memory available for flash IO"
68aa0fa8
MSJ
107 depends on MTD_PMC_MSP_EVM
108 default MSP_FLASH_MAP_LIMIT_32M
109
110config MSP_FLASH_MAP_LIMIT_32M
111 bool "32M"
112
113endchoice
114
115config MSP_FLASH_MAP_LIMIT
116 hex
117 default "0x02000000"
118 depends on MSP_FLASH_MAP_LIMIT_32M
119
1da177e4
LT
120config MTD_SUN_UFLASH
121 tristate "Sun Microsystems userflash support"
e0e5de00 122 depends on SPARC && MTD_CFI && PCI
1da177e4 123 help
69f34c98
TG
124 This provides a 'mapping' driver which supports the way in
125 which user-programmable flash chips are connected on various
126 Sun Microsystems boardsets. This driver will require CFI support
1da177e4
LT
127 in the kernel, so if you did not enable CFI previously, do that now.
128
1da177e4
LT
129config MTD_SC520CDP
130 tristate "CFI Flash device mapped on AMD SC520 CDP"
3579ad41 131 depends on (MELAN || COMPILE_TEST) && MTD_CFI
1da177e4
LT
132 help
133 The SC520 CDP board has two banks of CFI-compliant chips and one
134 Dual-in-line JEDEC chip. This 'mapping' driver supports that
135 arrangement, implementing three MTD devices.
136
137config MTD_NETSC520
138 tristate "CFI Flash device mapped on AMD NetSc520"
3579ad41 139 depends on (MELAN || COMPILE_TEST) && MTD_CFI
1da177e4
LT
140 help
141 This enables access routines for the flash chips on the AMD NetSc520
69f34c98 142 demonstration board. If you have one of these boards and would like
1da177e4
LT
143 to use the flash chips on it, say 'Y'.
144
145config MTD_TS5500
146 tristate "JEDEC Flash device mapped on Technologic Systems TS-5500"
f4f6a0be 147 depends on TS5500 || COMPILE_TEST
01ac742d
SY
148 select MTD_JEDECPROBE
149 select MTD_CFI_AMDSTD
1da177e4
LT
150 help
151 This provides a driver for the on-board flash of the Technologic
e27a9960 152 System's TS-5500 board. The 2MB flash is split into 3 partitions
1da177e4
LT
153 which are accessed as separate MTD devices.
154
e27a9960
SY
155 mtd0 and mtd2 are the two BIOS drives, which use the resident
156 flash disk (RFD) flash translation layer.
1da177e4
LT
157
158 mtd1 allows you to reprogram your BIOS. BE VERY CAREFUL.
159
160 Note that jumper 3 ("Write Enable Drive A") must be set
4992a9e8 161 otherwise detection won't succeed.
1da177e4
LT
162
163config MTD_SBC_GXX
164 tristate "CFI Flash device mapped on Arcom SBC-GXx boards"
6a8a98b2 165 depends on X86 && MTD_CFI_INTELEXT && MTD_COMPLEX_MAPPINGS
1da177e4
LT
166 help
167 This provides a driver for the on-board flash of Arcom Control
168 Systems' SBC-GXn family of boards, formerly known as SBC-MediaGX.
169 By default the flash is split into 3 partitions which are accessed
170 as separate MTD devices. This board utilizes Intel StrataFlash.
171 More info at
172 <http://www.arcomcontrols.com/products/icp/pc104/processors/SBC_GX1.htm>.
173
e644f7d6
TP
174config MTD_PXA2XX
175 tristate "CFI Flash device mapped on Intel XScale PXA2xx based boards"
176 depends on (PXA25x || PXA27x) && MTD_CFI_INTELEXT
cbec19ae 177 help
e644f7d6 178 This provides a driver for the NOR flash attached to a PXA2xx chip.
cbec19ae 179
1da177e4
LT
180config MTD_SCx200_DOCFLASH
181 tristate "Flash device mapped with DOCCS on NatSemi SCx200"
f6c11c18 182 depends on SCx200 && MTD_CFI
1da177e4
LT
183 help
184 Enable support for a flash chip mapped using the DOCCS signal on a
185 National Semiconductor SCx200 processor.
186
187 If you don't know what to do here, say N.
188
189 If compiled as a module, it will be called scx200_docflash.
190
191config MTD_AMD76XROM
192 tristate "BIOS flash chip on AMD76x southbridge"
193 depends on X86 && MTD_JEDECPROBE
194 help
195 Support for treating the BIOS flash chip on AMD76x motherboards
196 as an MTD device - with this you can reprogram your BIOS.
197
198 BE VERY CAREFUL.
199
200config MTD_ICHXROM
201 tristate "BIOS flash chip on Intel Controller Hub 2/3/4/5"
202 depends on X86 && MTD_JEDECPROBE
203 help
204 Support for treating the BIOS flash chip on ICHX motherboards
205 as an MTD device - with this you can reprogram your BIOS.
206
207 BE VERY CAREFUL.
208
29175778
LG
209config MTD_ESB2ROM
210 tristate "BIOS flash chip on Intel ESB Controller Hub 2"
dffbc42b 211 depends on X86 && MTD_JEDECPROBE && PCI
29175778
LG
212 help
213 Support for treating the BIOS flash chip on ESB2 motherboards
214 as an MTD device - with this you can reprogram your BIOS.
215
216 BE VERY CAREFUL.
217
90afffc8
DO
218config MTD_CK804XROM
219 tristate "BIOS flash chip on Nvidia CK804"
862c93b9 220 depends on X86 && MTD_JEDECPROBE && PCI
90afffc8
DO
221 help
222 Support for treating the BIOS flash chip on nvidia motherboards
223 as an MTD device - with this you can reprogram your BIOS.
224
225 BE VERY CAREFUL.
226
1da177e4
LT
227config MTD_SCB2_FLASH
228 tristate "BIOS flash chip on Intel SCB2 boards"
47d0505b 229 depends on X86 && MTD_JEDECPROBE && PCI
1da177e4
LT
230 help
231 Support for treating the BIOS flash chip on Intel SCB2 boards
232 as an MTD device - with this you can reprogram your BIOS.
233
234 BE VERY CAREFUL.
235
236config MTD_TSUNAMI
237 tristate "Flash chips on Tsunami TIG bus"
238 depends on ALPHA_TSUNAMI && MTD_COMPLEX_MAPPINGS
239 help
240 Support for the flash chip on Tsunami TIG bus.
241
1da177e4
LT
242config MTD_NETtel
243 tristate "CFI flash device on SnapGear/SecureEdge"
6a8a98b2 244 depends on X86 && MTD_JEDECPROBE
1da177e4
LT
245 help
246 Support for flash chips on NETtel/SecureEdge/SnapGear boards.
247
3c544739
JC
248config MTD_LANTIQ
249 tristate "Lantiq SoC NOR support"
250 depends on LANTIQ
3c544739
JC
251 help
252 Support for NOR flash attached to the Lantiq SoC's External Bus Unit.
253
1da177e4
LT
254config MTD_L440GX
255 tristate "BIOS flash chip on Intel L440GX boards"
256 depends on X86 && MTD_JEDECPROBE
257 help
258 Support for treating the BIOS flash chip on Intel L440GX motherboards
259 as an MTD device - with this you can reprogram your BIOS.
260
261 BE VERY CAREFUL.
262
1da177e4
LT
263config MTD_CFI_FLAGADM
264 tristate "CFI Flash device mapping on FlagaDM"
318157ab 265 depends on PPC_8xx && MTD_CFI
1da177e4
LT
266 help
267 Mapping for the Flaga digital module. If you don't have one, ignore
268 this setting.
269
1da177e4
LT
270config MTD_SOLUTIONENGINE
271 tristate "CFI Flash device mapped on Hitachi SolutionEngine"
7a6f4395 272 depends on SOLUTION_ENGINE && MTD_CFI && MTD_REDBOOT_PARTS
1da177e4
LT
273 help
274 This enables access to the flash chips on the Hitachi SolutionEngine and
275 similar boards. Say 'Y' if you are building a kernel for such a board.
276
1da177e4
LT
277config MTD_SA1100
278 tristate "CFI Flash device mapped on StrongARM SA11x0"
2fe2e24e 279 depends on MTD_CFI && ARCH_SA1100
1da177e4
LT
280 help
281 This enables access to the flash chips on most platforms based on
282 the SA1100 and SA1110, including the Assabet and the Compaq iPAQ.
283 If you have such a board, say 'Y'.
284
1da177e4
LT
285config MTD_DC21285
286 tristate "CFI Flash device mapped on DC21285 Footbridge"
01ac742d 287 depends on MTD_CFI && ARCH_FOOTBRIDGE && MTD_COMPLEX_MAPPINGS
1da177e4
LT
288 help
289 This provides a driver for the flash accessed using Intel's
290 21285 bridge used with Intel's StrongARM processors. More info at
291 <http://www.intel.com/design/bridge/docs/21285_documentation.htm>.
292
1da177e4
LT
293config MTD_IXP4XX
294 tristate "CFI Flash device mapped on Intel IXP4xx based systems"
01ac742d 295 depends on MTD_CFI && MTD_COMPLEX_MAPPINGS && ARCH_IXP4XX
1da177e4 296 help
69f34c98 297 This enables MTD access to flash devices on platforms based
1da177e4
LT
298 on Intel's IXP4xx family of network processors such as the
299 IXDP425 and Coyote. If you have an IXP4xx based board and
300 would like to use the flash chips on it, say 'Y'.
301
1da177e4
LT
302config MTD_IMPA7
303 tristate "JEDEC Flash device mapped on impA7"
304 depends on ARM && MTD_JEDECPROBE
305 help
306 This enables access to the NOR Flash on the impA7 board of
307 implementa GmbH. If you have such a board, say 'Y' here.
308
1da177e4
LT
309# This needs CFI or JEDEC, depending on the cards found.
310config MTD_PCI
311 tristate "PCI MTD driver"
ec98c681 312 depends on PCI && MTD_COMPLEX_MAPPINGS
1da177e4
LT
313 help
314 Mapping for accessing flash devices on add-in cards like the Intel XScale
315 IQ80310 card, and the Intel EBSA285 card in blank ROM programming mode
316 (please see the manual for the link settings).
317
318 If you are not sure, say N.
319
320config MTD_PCMCIA
321 tristate "PCMCIA MTD driver"
f6763c98 322 depends on PCMCIA && MTD_COMPLEX_MAPPINGS
1da177e4
LT
323 help
324 Map driver for accessing PCMCIA linear flash memory cards. These
325 cards are usually around 4-16MiB in size. This does not include
326 Compact Flash cards which are treated as IDE devices.
327
11d28a30
DB
328config MTD_PCMCIA_ANONYMOUS
329 bool "Use PCMCIA MTD drivers for anonymous PCMCIA cards"
330 depends on MTD_PCMCIA
11d28a30
DB
331 help
332 If this option is enabled, PCMCIA cards which do not report
333 anything about themselves are assumed to be MTD cards.
334
335 If unsure, say N.
336
2e3c22f5
MF
337config MTD_BFIN_ASYNC
338 tristate "Blackfin BF533-STAMP Flash Chip Support"
ab00d682 339 depends on BFIN533_STAMP && MTD_CFI && MTD_COMPLEX_MAPPINGS
2e3c22f5
MF
340 default y
341 help
342 Map driver which allows for simultaneous utilization of
343 ethernet and CFI parallel flash.
344
345 If compiled as a module, it will be called bfin-async-flash.
346
d79c326c
MF
347config MTD_GPIO_ADDR
348 tristate "GPIO-assisted Flash Chip Support"
f650ce24 349 depends on GPIOLIB || COMPILE_TEST
d79c326c 350 depends on MTD_COMPLEX_MAPPINGS
d79c326c
MF
351 help
352 Map driver which allows flashes to be partially physically addressed
353 and assisted by GPIOs.
354
355 If compiled as a module, it will be called gpio-addr-flash.
356
1da177e4 357config MTD_UCLINUX
6ae392cc 358 bool "Generic uClinux RAM/ROM filesystem support"
81f53ff8 359 depends on (MTD_RAM=y || MTD_ROM=y) && (!MMU || COLDFIRE)
1da177e4
LT
360 help
361 Map driver to support image based filesystems for uClinux.
362
0bac5111
DW
363config MTD_INTEL_VR_NOR
364 tristate "NOR flash on Intel Vermilion Range Expansion Bus CS0"
365 depends on PCI
366 help
367 Map driver for a NOR flash bank located on the Expansion Bus of the
368 Intel Vermilion Range chipset.
369
610f75e7
AN
370config MTD_RBTX4939
371 tristate "Map driver for RBTX4939 board"
372 depends on TOSHIBA_RBTX4939 && MTD_CFI && MTD_COMPLEX_MAPPINGS
373 help
374 Map driver for NOR flash chips on RBTX4939 board.
375
99f2a8ae 376config MTD_PLATRAM
3c45e00a 377 tristate "Map driver for platform device RAM (mtd-ram)"
99f2a8ae
BD
378 select MTD_RAM
379 help
380 Map driver for RAM areas described via the platform device
381 system.
382
383 This selection automatically selects the map_ram driver.
384
47a72688
AM
385config MTD_VMU
386 tristate "Map driver for Dreamcast VMU"
387 depends on MAPLE
388 help
389 This driver enables access to the Dreamcast Visual Memory Unit (VMU).
390
391 Most Dreamcast users will want to say Y here.
1da177e4 392
47a72688
AM
393 To build this as a module select M here, the module will be called
394 vmu-flash.
395
f6a8c609
RKAL
396config MTD_PISMO
397 tristate "MTD discovery driver for PISMO modules"
398 depends on I2C
399 depends on ARCH_VERSATILE
400 help
401 This driver allows for discovery of PISMO modules - see
402 <http://www.pismoworld.org/>. These are small modules containing
403 up to five memory devices (eg, SRAM, flash, DOC) described by an
404 I2C EEPROM.
405
406 This driver does not create any MTD maps itself; instead it
407 creates MTD physmap and MTD SRAM platform devices. If you
408 enable this option, you should consider enabling MTD_PHYSMAP
409 and/or MTD_PLATRAM according to the devices on your module.
410
411 When built as a module, it will be called pismo.ko
412
dcfb81d6
DG
413config MTD_LATCH_ADDR
414 tristate "Latch-assisted Flash Chip Support"
415 depends on MTD_COMPLEX_MAPPINGS
416 help
417 Map driver which allows flashes to be partially physically addressed
418 and have the upper address lines set by a board specific code.
419
420 If compiled as a module, it will be called latch-addr-flash.
421
47a72688 422endmenu