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