Kconfig 19 KB

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