xref: /linux/drivers/mtd/maps/Kconfig (revision 492c826b9facefa84995f4dea917e301b5ee0884)
1menu "Mapping drivers for chip access"
2	depends on MTD!=n
3
4config MTD_COMPLEX_MAPPINGS
5	bool "Support non-linear mappings of flash chips"
6	help
7	  This causes the chip drivers to allow for complicated
8	  paged mappings of flash chips.
9
10config MTD_PHYSMAP
11	tristate "Flash device in physical memory map"
12	depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM || MTD_LPDDR
13	help
14	  This provides a 'mapping' driver which allows the NOR Flash and
15	  ROM driver code to communicate with chips which are mapped
16	  physically into the CPU's memory. You will need to configure
17	  the physical address and size of the flash chips on your
18	  particular board as well as the bus width, either statically
19	  with config options or at run-time.
20
21	  To compile this driver as a module, choose M here: the
22	  module will be called physmap.
23
24config MTD_PHYSMAP_COMPAT
25	bool "Physmap compat support"
26	depends on MTD_PHYSMAP
27	default n
28	help
29	  Setup a simple mapping via the Kconfig options.  Normally the
30	  physmap configuration options are done via your board's
31	  resource file.
32
33	  If unsure, say N here.
34
35config MTD_PHYSMAP_START
36	hex "Physical start address of flash mapping"
37	depends on MTD_PHYSMAP_COMPAT
38	default "0x8000000"
39	help
40	  This is the physical memory location at which the flash chips
41	  are mapped on your particular target board. Refer to the
42	  memory map which should hopefully be in the documentation for
43	  your board.
44	  Ignore this option if you use run-time physmap configuration
45	  (i.e., run-time calling physmap_configure()).
46
47config MTD_PHYSMAP_LEN
48	hex "Physical length of flash mapping"
49	depends on MTD_PHYSMAP_COMPAT
50	default "0"
51	help
52	  This is the total length of the mapping of the flash chips on
53	  your particular board. If there is space, or aliases, in the
54	  physical memory map between the chips, this could be larger
55	  than the total amount of flash present. Refer to the memory
56	  map which should hopefully be in the documentation for your
57	  board.
58	  Ignore this option if you use run-time physmap configuration
59	  (i.e., run-time calling physmap_configure()).
60
61config MTD_PHYSMAP_BANKWIDTH
62	int "Bank width in octets"
63	depends on MTD_PHYSMAP_COMPAT
64	default "2"
65	help
66	  This is the total width of the data bus of the flash devices
67	  in octets. For example, if you have a data bus width of 32
68	  bits, you would set the bus width octet value to 4. This is
69	  used internally by the CFI drivers.
70	  Ignore this option if you use run-time physmap configuration
71	  (i.e., run-time calling physmap_configure()).
72
73config MTD_PHYSMAP_OF
74	tristate "Flash device in physical memory map based on OF description"
75	depends on OF && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM)
76	help
77	  This provides a 'mapping' driver which allows the NOR Flash and
78	  ROM driver code to communicate with chips which are mapped
79	  physically into the CPU's memory. The mapping description here is
80	  taken from OF device tree.
81
82config MTD_PMC_MSP_EVM
83	tristate "CFI Flash device mapped on PMC-Sierra MSP"
84	depends on PMC_MSP && MTD_CFI
85	select MTD_PARTITIONS
86	help
87	  This provides a 'mapping' driver which supports the way
88	  in which user-programmable flash chips are connected on the
89	  PMC-Sierra MSP eval/demo boards.
90
91choice
92	prompt "Maximum mappable memory available for flash IO"
93	depends on MTD_PMC_MSP_EVM
94	default MSP_FLASH_MAP_LIMIT_32M
95
96config MSP_FLASH_MAP_LIMIT_32M
97	bool "32M"
98
99endchoice
100
101config MSP_FLASH_MAP_LIMIT
102	hex
103	default "0x02000000"
104	depends on MSP_FLASH_MAP_LIMIT_32M
105
106config MTD_SUN_UFLASH
107	tristate "Sun Microsystems userflash support"
108	depends on SPARC && MTD_CFI && PCI
109	help
110	  This provides a 'mapping' driver which supports the way in
111	  which user-programmable flash chips are connected on various
112	  Sun Microsystems boardsets.  This driver will require CFI support
113	  in the kernel, so if you did not enable CFI previously, do that now.
114
115config MTD_SC520CDP
116	tristate "CFI Flash device mapped on AMD SC520 CDP"
117	depends on X86 && MTD_CFI
118	help
119	  The SC520 CDP board has two banks of CFI-compliant chips and one
120	  Dual-in-line JEDEC chip. This 'mapping' driver supports that
121	  arrangement, implementing three MTD devices.
122
123config MTD_NETSC520
124	tristate "CFI Flash device mapped on AMD NetSc520"
125	depends on X86 && MTD_CFI && MTD_PARTITIONS
126	help
127	  This enables access routines for the flash chips on the AMD NetSc520
128	  demonstration board. If you have one of these boards and would like
129	  to use the flash chips on it, say 'Y'.
130
131config MTD_TS5500
132	tristate "JEDEC Flash device mapped on Technologic Systems TS-5500"
133	depends on X86
134	select MTD_PARTITIONS
135	select MTD_JEDECPROBE
136	select MTD_CFI_AMDSTD
137	help
138	  This provides a driver for the on-board flash of the Technologic
139	  System's TS-5500 board. The 2MB flash is split into 3 partitions
140	  which are accessed as separate MTD devices.
141
142	  mtd0 and mtd2 are the two BIOS drives, which use the resident
143	  flash disk (RFD) flash translation layer.
144
145	  mtd1 allows you to reprogram your BIOS. BE VERY CAREFUL.
146
147	  Note that jumper 3 ("Write Enable Drive A") must be set
148	  otherwise detection won't succeed.
149
150config MTD_SBC_GXX
151	tristate "CFI Flash device mapped on Arcom SBC-GXx boards"
152	depends on X86 && MTD_CFI_INTELEXT && MTD_PARTITIONS && MTD_COMPLEX_MAPPINGS
153	help
154	  This provides a driver for the on-board flash of Arcom Control
155	  Systems' SBC-GXn family of boards, formerly known as SBC-MediaGX.
156	  By default the flash is split into 3 partitions which are accessed
157	  as separate MTD devices. This board utilizes Intel StrataFlash.
158	  More info at
159	  <http://www.arcomcontrols.com/products/icp/pc104/processors/SBC_GX1.htm>.
160
161config MTD_PXA2XX
162	tristate "CFI Flash device mapped on Intel XScale PXA2xx based boards"
163	depends on (PXA25x || PXA27x) && MTD_CFI_INTELEXT
164	select MTD_PARTITIONS
165	help
166	  This provides a driver for the NOR flash attached to a PXA2xx chip.
167
168config MTD_OCTAGON
169	tristate "JEDEC Flash device mapped on Octagon 5066 SBC"
170	depends on X86 && MTD_JEDEC && MTD_COMPLEX_MAPPINGS
171	help
172	  This provides a 'mapping' driver which supports the way in which
173	  the flash chips are connected in the Octagon-5066 Single Board
174	  Computer. More information on the board is available at
175	  <http://www.octagonsystems.com/products/5066.aspx>.
176
177config MTD_VMAX
178	tristate "JEDEC Flash device mapped on Tempustech VMAX SBC301"
179	depends on X86 && MTD_JEDEC && MTD_COMPLEX_MAPPINGS
180	help
181	  This provides a 'mapping' driver which supports the way in which
182	  the flash chips are connected in the Tempustech VMAX SBC301 Single
183	  Board Computer. More information on the board is available at
184	  <http://www.tempustech.com/>.
185
186config MTD_SCx200_DOCFLASH
187	tristate "Flash device mapped with DOCCS on NatSemi SCx200"
188	depends on SCx200 && MTD_CFI && MTD_PARTITIONS
189	help
190	  Enable support for a flash chip mapped using the DOCCS signal on a
191	  National Semiconductor SCx200 processor.
192
193	  If you don't know what to do here, say N.
194
195	  If compiled as a module, it will be called scx200_docflash.
196
197config MTD_AMD76XROM
198	tristate "BIOS flash chip on AMD76x southbridge"
199	depends on X86 && MTD_JEDECPROBE
200	help
201	  Support for treating the BIOS flash chip on AMD76x motherboards
202	  as an MTD device - with this you can reprogram your BIOS.
203
204	  BE VERY CAREFUL.
205
206config MTD_ICHXROM
207	tristate "BIOS flash chip on Intel Controller Hub 2/3/4/5"
208	depends on X86 && MTD_JEDECPROBE
209	help
210	  Support for treating the BIOS flash chip on ICHX motherboards
211	  as an MTD device - with this you can reprogram your BIOS.
212
213	  BE VERY CAREFUL.
214
215config MTD_ESB2ROM
216        tristate "BIOS flash chip on Intel ESB Controller Hub 2"
217        depends on X86 && MTD_JEDECPROBE && PCI
218        help
219          Support for treating the BIOS flash chip on ESB2 motherboards
220          as an MTD device - with this you can reprogram your BIOS.
221
222          BE VERY CAREFUL.
223
224config MTD_CK804XROM
225	tristate "BIOS flash chip on Nvidia CK804"
226	depends on X86 && MTD_JEDECPROBE && PCI
227	help
228	  Support for treating the BIOS flash chip on nvidia motherboards
229	  as an MTD device - with this you can reprogram your BIOS.
230
231	  BE VERY CAREFUL.
232
233config MTD_SCB2_FLASH
234	tristate "BIOS flash chip on Intel SCB2 boards"
235	depends on X86 && MTD_JEDECPROBE
236	help
237	  Support for treating the BIOS flash chip on Intel SCB2 boards
238	  as an MTD device - with this you can reprogram your BIOS.
239
240	  BE VERY CAREFUL.
241
242config MTD_TSUNAMI
243	tristate "Flash chips on Tsunami TIG bus"
244	depends on ALPHA_TSUNAMI && MTD_COMPLEX_MAPPINGS
245	help
246	  Support for the flash chip on Tsunami TIG bus.
247
248config MTD_NETtel
249	tristate "CFI flash device on SnapGear/SecureEdge"
250	depends on X86 && MTD_PARTITIONS && MTD_JEDECPROBE
251	help
252	  Support for flash chips on NETtel/SecureEdge/SnapGear boards.
253
254config MTD_BCM963XX
255        tristate "Map driver for Broadcom BCM963xx boards"
256        depends on BCM63XX
257	select MTD_MAP_BANK_WIDTH_2
258	select MTD_CFI_I1
259        help
260	  Support for parsing CFE image tag and creating MTD partitions on
261	  Broadcom BCM63xx boards.
262
263config MTD_LANTIQ
264	tristate "Lantiq SoC NOR support"
265	depends on LANTIQ
266	select MTD_PARTITIONS
267	help
268	  Support for NOR flash attached to the Lantiq SoC's External Bus Unit.
269
270config MTD_DILNETPC
271	tristate "CFI Flash device mapped on DIL/Net PC"
272	depends on X86 && MTD_PARTITIONS && MTD_CFI_INTELEXT && BROKEN
273	help
274	  MTD map driver for SSV DIL/Net PC Boards "DNP" and "ADNP".
275	  For details, see <http://www.ssv-embedded.de/ssv/pc104/p169.htm>
276 	  and <http://www.ssv-embedded.de/ssv/pc104/p170.htm>
277
278config MTD_DILNETPC_BOOTSIZE
279	hex "Size of DIL/Net PC flash boot partition"
280	depends on MTD_DILNETPC
281	default "0x80000"
282	help
283	  The amount of space taken up by the kernel or Etherboot
284	  on the DIL/Net PC flash chips.
285
286config MTD_L440GX
287	tristate "BIOS flash chip on Intel L440GX boards"
288	depends on X86 && MTD_JEDECPROBE
289	help
290	  Support for treating the BIOS flash chip on Intel L440GX motherboards
291	  as an MTD device - with this you can reprogram your BIOS.
292
293	  BE VERY CAREFUL.
294
295config MTD_TQM8XXL
296	tristate "CFI Flash device mapped on TQM8XXL"
297	depends on MTD_CFI && TQM8xxL
298	help
299	  The TQM8xxL PowerPC board has up to two banks of CFI-compliant
300	  chips, currently uses AMD one. This 'mapping' driver supports
301	  that arrangement, allowing the CFI probe and command set driver
302	  code to communicate with the chips on the TQM8xxL board. More at
303	  <http://www.denx.de/wiki/PPCEmbedded/>.
304
305config MTD_RPXLITE
306	tristate "CFI Flash device mapped on RPX Lite or CLLF"
307	depends on MTD_CFI && (RPXCLASSIC || RPXLITE)
308	help
309	  The RPXLite PowerPC board has CFI-compliant chips mapped in
310	  a strange sparse mapping. This 'mapping' driver supports that
311	  arrangement, allowing the CFI probe and command set driver code
312	  to communicate with the chips on the RPXLite board. More at
313	  <http://www.embeddedplanet.com/>.
314
315config MTD_MBX860
316	tristate "System flash on MBX860 board"
317	depends on MTD_CFI && MBX
318	help
319	  This enables access routines for the flash chips on the Motorola
320	  MBX860 board. If you have one of these boards and would like
321	  to use the flash chips on it, say 'Y'.
322
323config MTD_DBOX2
324	tristate "CFI Flash device mapped on D-Box2"
325	depends on DBOX2 && MTD_CFI_INTELSTD && MTD_CFI_INTELEXT && MTD_CFI_AMDSTD
326	help
327	  This enables access routines for the flash chips on the Nokia/Sagem
328	  D-Box 2 board. If you have one of these boards and would like to use
329	  the flash chips on it, say 'Y'.
330
331config MTD_CFI_FLAGADM
332	tristate "CFI Flash device mapping on FlagaDM"
333	depends on 8xx && MTD_CFI
334	help
335	  Mapping for the Flaga digital module. If you don't have one, ignore
336	  this setting.
337
338config MTD_SOLUTIONENGINE
339	tristate "CFI Flash device mapped on Hitachi SolutionEngine"
340	depends on SUPERH && SOLUTION_ENGINE && MTD_CFI && MTD_REDBOOT_PARTS
341	help
342	  This enables access to the flash chips on the Hitachi SolutionEngine and
343	  similar boards. Say 'Y' if you are building a kernel for such a board.
344
345config MTD_ARM_INTEGRATOR
346	tristate "CFI Flash device mapped on ARM Integrator/P720T"
347	depends on ARM && MTD_CFI
348
349config MTD_CDB89712
350	tristate "Cirrus CDB89712 evaluation board mappings"
351	depends on MTD_CFI && ARCH_CDB89712
352	help
353	  This enables access to the flash or ROM chips on the CDB89712 board.
354	  If you have such a board, say 'Y'.
355
356config MTD_SA1100
357	tristate "CFI Flash device mapped on StrongARM SA11x0"
358	depends on MTD_CFI && ARCH_SA1100 && MTD_PARTITIONS
359	help
360	  This enables access to the flash chips on most platforms based on
361	  the SA1100 and SA1110, including the Assabet and the Compaq iPAQ.
362	  If you have such a board, say 'Y'.
363
364config MTD_DC21285
365	tristate "CFI Flash device mapped on DC21285 Footbridge"
366	depends on MTD_CFI && ARCH_FOOTBRIDGE && MTD_COMPLEX_MAPPINGS
367	help
368	  This provides a driver for the flash accessed using Intel's
369	  21285 bridge used with Intel's StrongARM processors. More info at
370	  <http://www.intel.com/design/bridge/docs/21285_documentation.htm>.
371
372config MTD_IXP4XX
373	tristate "CFI Flash device mapped on Intel IXP4xx based systems"
374	depends on MTD_CFI && MTD_COMPLEX_MAPPINGS && ARCH_IXP4XX
375	help
376	  This enables MTD access to flash devices on platforms based
377	  on Intel's IXP4xx family of network processors such as the
378	  IXDP425 and Coyote. If you have an IXP4xx based board and
379	  would like to use the flash chips on it, say 'Y'.
380
381config MTD_IXP2000
382	tristate "CFI Flash device mapped on Intel IXP2000 based systems"
383	depends on MTD_CFI && MTD_COMPLEX_MAPPINGS && ARCH_IXP2000
384	help
385	  This enables MTD access to flash devices on platforms based
386	  on Intel's IXP2000 family of network processors. If you have an
387	  IXP2000 based board and would like to use the flash chips on it,
388	  say 'Y'.
389
390config MTD_FORTUNET
391	tristate "CFI Flash device mapped on the FortuNet board"
392	depends on MTD_CFI && MTD_PARTITIONS && SA1100_FORTUNET
393	help
394	  This enables access to the Flash on the FortuNet board.  If you
395	  have such a board, say 'Y'.
396
397config MTD_AUTCPU12
398	tristate "NV-RAM mapping AUTCPU12 board"
399	depends on ARCH_AUTCPU12
400	help
401	  This enables access to the NV-RAM on autronix autcpu12 board.
402	  If you have such a board, say 'Y'.
403
404config MTD_EDB7312
405	tristate "CFI Flash device mapped on EDB7312"
406	depends on ARCH_EDB7312 && MTD_CFI
407	help
408	  This enables access to the CFI Flash on the Cogent EDB7312 board.
409	  If you have such a board, say 'Y' here.
410
411config MTD_IMPA7
412	tristate "JEDEC Flash device mapped on impA7"
413	depends on ARM && MTD_JEDECPROBE
414	help
415	  This enables access to the NOR Flash on the impA7 board of
416	  implementa GmbH. If you have such a board, say 'Y' here.
417
418config MTD_CEIVA
419	tristate "JEDEC Flash device mapped on Ceiva/Polaroid PhotoMax Digital Picture Frame"
420	depends on MTD_JEDECPROBE && ARCH_CEIVA
421	help
422	  This enables access to the flash chips on the Ceiva/Polaroid
423	  PhotoMax Digital Picture Frame.
424	  If you have such a device, say 'Y'.
425
426config MTD_H720X
427	tristate "Hynix evaluation board mappings"
428	depends on MTD_CFI && ( ARCH_H7201 || ARCH_H7202 )
429	help
430	  This enables access to the flash chips on the Hynix evaluation boards.
431	  If you have such a board, say 'Y'.
432
433# This needs CFI or JEDEC, depending on the cards found.
434config MTD_PCI
435	tristate "PCI MTD driver"
436	depends on PCI && MTD_COMPLEX_MAPPINGS
437	help
438	  Mapping for accessing flash devices on add-in cards like the Intel XScale
439	  IQ80310 card, and the Intel EBSA285 card in blank ROM programming mode
440	  (please see the manual for the link settings).
441
442	  If you are not sure, say N.
443
444config MTD_PCMCIA
445	tristate "PCMCIA MTD driver"
446	depends on PCMCIA && MTD_COMPLEX_MAPPINGS
447	help
448	  Map driver for accessing PCMCIA linear flash memory cards. These
449	  cards are usually around 4-16MiB in size. This does not include
450	  Compact Flash cards which are treated as IDE devices.
451
452config MTD_PCMCIA_ANONYMOUS
453	bool "Use PCMCIA MTD drivers for anonymous PCMCIA cards"
454	depends on MTD_PCMCIA
455	help
456	  If this option is enabled, PCMCIA cards which do not report
457	  anything about themselves are assumed to be MTD cards.
458
459	  If unsure, say N.
460
461config MTD_BFIN_ASYNC
462	tristate "Blackfin BF533-STAMP Flash Chip Support"
463	depends on BFIN533_STAMP && MTD_CFI && MTD_COMPLEX_MAPPINGS
464	select MTD_PARTITIONS
465	default y
466	help
467	  Map driver which allows for simultaneous utilization of
468	  ethernet and CFI parallel flash.
469
470	  If compiled as a module, it will be called bfin-async-flash.
471
472config MTD_GPIO_ADDR
473	tristate "GPIO-assisted Flash Chip Support"
474	depends on GENERIC_GPIO || GPIOLIB
475	depends on MTD_COMPLEX_MAPPINGS
476	select MTD_PARTITIONS
477	help
478	  Map driver which allows flashes to be partially physically addressed
479	  and assisted by GPIOs.
480
481	  If compiled as a module, it will be called gpio-addr-flash.
482
483config MTD_UCLINUX
484	bool "Generic uClinux RAM/ROM filesystem support"
485	depends on MTD_PARTITIONS && MTD_RAM=y && !MMU
486	help
487	  Map driver to support image based filesystems for uClinux.
488
489config MTD_WRSBC8260
490	tristate "Map driver for WindRiver PowerQUICC II MPC82xx board"
491	depends on (SBC82xx || SBC8560)
492	select MTD_PARTITIONS
493	select MTD_MAP_BANK_WIDTH_4
494	select MTD_MAP_BANK_WIDTH_1
495	select MTD_CFI_I1
496	select MTD_CFI_I4
497	help
498	  Map driver for WindRiver PowerQUICC II MPC82xx board. Drives
499	  all three flash regions on CS0, CS1 and CS6 if they are configured
500	  correctly by the boot loader.
501
502config MTD_DMV182
503        tristate "Map driver for Dy-4 SVME/DMV-182 board."
504        depends on DMV182
505        select MTD_PARTITIONS
506	select MTD_MAP_BANK_WIDTH_32
507	select MTD_CFI_I8
508	select MTD_CFI_AMDSTD
509        help
510          Map driver for Dy-4 SVME/DMV-182 board.
511
512config MTD_INTEL_VR_NOR
513	tristate "NOR flash on Intel Vermilion Range Expansion Bus CS0"
514	depends on PCI
515	help
516	  Map driver for a NOR flash bank located on the Expansion Bus of the
517	  Intel Vermilion Range chipset.
518
519config MTD_RBTX4939
520	tristate "Map driver for RBTX4939 board"
521	depends on TOSHIBA_RBTX4939 && MTD_CFI && MTD_COMPLEX_MAPPINGS
522	help
523	  Map driver for NOR flash chips on RBTX4939 board.
524
525config MTD_PLATRAM
526	tristate "Map driver for platform device RAM (mtd-ram)"
527	select MTD_RAM
528	help
529	  Map driver for RAM areas described via the platform device
530	  system.
531
532	  This selection automatically selects the map_ram driver.
533
534config MTD_VMU
535	tristate "Map driver for Dreamcast VMU"
536	depends on MAPLE
537	help
538	  This driver enables access to the Dreamcast Visual Memory Unit (VMU).
539
540	  Most Dreamcast users will want to say Y here.
541
542	  To build this as a module select M here, the module will be called
543	  vmu-flash.
544
545config MTD_PISMO
546	tristate "MTD discovery driver for PISMO modules"
547	depends on I2C
548	depends on ARCH_VERSATILE
549	help
550	  This driver allows for discovery of PISMO modules - see
551	  <http://www.pismoworld.org/>.  These are small modules containing
552	  up to five memory devices (eg, SRAM, flash, DOC) described by an
553	  I2C EEPROM.
554
555	  This driver does not create any MTD maps itself; instead it
556	  creates MTD physmap and MTD SRAM platform devices.  If you
557	  enable this option, you should consider enabling MTD_PHYSMAP
558	  and/or MTD_PLATRAM according to the devices on your module.
559
560	  When built as a module, it will be called pismo.ko
561
562config MTD_LATCH_ADDR
563        tristate "Latch-assisted Flash Chip Support"
564        depends on MTD_COMPLEX_MAPPINGS
565        help
566          Map driver which allows flashes to be partially physically addressed
567          and have the upper address lines set by a board specific code.
568
569          If compiled as a module, it will be called latch-addr-flash.
570
571endmenu
572