Kconfig 18 KB

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