Kconfig 17 KB

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