Kconfig 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. #
  2. # MMC/SD host controller drivers
  3. #
  4. comment "MMC/SD/SDIO Host Controller Drivers"
  5. config MMC_ARMMMCI
  6. tristate "ARM AMBA Multimedia Card Interface support"
  7. depends on ARM_AMBA
  8. help
  9. This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
  10. Interface (PL180 and PL181) support. If you have an ARM(R)
  11. platform with a Multimedia Card slot, say Y or M here.
  12. If unsure, say N.
  13. config MMC_PXA
  14. tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
  15. depends on ARCH_PXA
  16. help
  17. This selects the Intel(R) PXA(R) Multimedia card Interface.
  18. If you have a PXA(R) platform with a Multimedia Card slot,
  19. say Y or M here.
  20. If unsure, say N.
  21. config MMC_SDHCI
  22. tristate "Secure Digital Host Controller Interface support"
  23. depends on HAS_DMA
  24. help
  25. This selects the generic Secure Digital Host Controller Interface.
  26. It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
  27. and Toshiba(R). Most controllers found in laptops are of this type.
  28. If you have a controller with this interface, say Y or M here. You
  29. also need to enable an appropriate bus interface.
  30. If unsure, say N.
  31. config MMC_SDHCI_IO_ACCESSORS
  32. bool
  33. depends on MMC_SDHCI
  34. help
  35. This is silent Kconfig symbol that is selected by the drivers that
  36. need to overwrite SDHCI IO memory accessors.
  37. config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
  38. bool
  39. select MMC_SDHCI_IO_ACCESSORS
  40. help
  41. This option is selected by drivers running on big endian hosts
  42. and performing I/O to a SDHCI controller through a bus that
  43. implements a hardware byte swapper using a 32-bit datum.
  44. This endian mapping mode is called "data invariance" and
  45. has the effect of scrambling the addresses and formats of data
  46. accessed in sizes other than the datum size.
  47. This is the case for the Freescale eSDHC and Nintendo Wii SDHCI.
  48. config MMC_SDHCI_PCI
  49. tristate "SDHCI support on PCI bus"
  50. depends on MMC_SDHCI && PCI
  51. help
  52. This selects the PCI Secure Digital Host Controller Interface.
  53. Most controllers found today are PCI devices.
  54. If you have a controller with this interface, say Y or M here.
  55. If unsure, say N.
  56. config MMC_RICOH_MMC
  57. bool "Ricoh MMC Controller Disabler (EXPERIMENTAL)"
  58. depends on MMC_SDHCI_PCI
  59. help
  60. This adds a pci quirk to disable Ricoh MMC Controller. This
  61. proprietary controller is unnecessary because the SDHCI driver
  62. supports MMC cards on the SD controller, but if it is not
  63. disabled, it will steal the MMC cards away - rendering them
  64. useless. It is safe to select this even if you don't
  65. have a Ricoh based card reader.
  66. If unsure, say Y.
  67. config MMC_SDHCI_OF
  68. tristate "SDHCI support on OpenFirmware platforms"
  69. depends on MMC_SDHCI && OF
  70. help
  71. This selects the OF support for Secure Digital Host Controller
  72. Interfaces.
  73. If unsure, say N.
  74. config MMC_SDHCI_OF_ESDHC
  75. bool "SDHCI OF support for the Freescale eSDHC controller"
  76. depends on MMC_SDHCI_OF
  77. depends on PPC_OF
  78. select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
  79. help
  80. This selects the Freescale eSDHC controller support.
  81. If unsure, say N.
  82. config MMC_SDHCI_OF_HLWD
  83. bool "SDHCI OF support for the Nintendo Wii SDHCI controllers"
  84. depends on MMC_SDHCI_OF
  85. depends on PPC_OF
  86. select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
  87. help
  88. This selects the Secure Digital Host Controller Interface (SDHCI)
  89. found in the "Hollywood" chipset of the Nintendo Wii video game
  90. console.
  91. If unsure, say N.
  92. config MMC_SDHCI_PLTFM
  93. tristate "SDHCI support on the platform specific bus"
  94. depends on MMC_SDHCI
  95. help
  96. This selects the platform specific bus support for Secure Digital Host
  97. Controller Interface.
  98. If you have a controller with this interface, say Y or M here.
  99. If unsure, say N.
  100. config MMC_SDHCI_CNS3XXX
  101. bool "SDHCI support on the Cavium Networks CNS3xxx SoC"
  102. depends on ARCH_CNS3XXX
  103. depends on MMC_SDHCI_PLTFM
  104. help
  105. This selects the SDHCI support for CNS3xxx System-on-Chip devices.
  106. If unsure, say N.
  107. config MMC_SDHCI_ESDHC_IMX
  108. bool "SDHCI platform support for the Freescale eSDHC i.MX controller"
  109. depends on MMC_SDHCI_PLTFM && (ARCH_MX25 || ARCH_MX35 || ARCH_MX5)
  110. select MMC_SDHCI_IO_ACCESSORS
  111. help
  112. This selects the Freescale eSDHC controller support on the platform
  113. bus, found on platforms like mx35/51.
  114. If unsure, say N.
  115. config MMC_SDHCI_DOVE
  116. bool "SDHCI support on Marvell's Dove SoC"
  117. depends on ARCH_DOVE
  118. depends on MMC_SDHCI_PLTFM
  119. select MMC_SDHCI_IO_ACCESSORS
  120. help
  121. This selects the Secure Digital Host Controller Interface in
  122. Marvell's Dove SoC.
  123. If unsure, say N.
  124. config MMC_SDHCI_TEGRA
  125. tristate "SDHCI platform support for the Tegra SD/MMC Controller"
  126. depends on MMC_SDHCI_PLTFM && ARCH_TEGRA
  127. select MMC_SDHCI_IO_ACCESSORS
  128. help
  129. This selects the Tegra SD/MMC controller. If you have a Tegra
  130. platform with SD or MMC devices, say Y or M here.
  131. If unsure, say N.
  132. config MMC_SDHCI_S3C
  133. tristate "SDHCI support on Samsung S3C SoC"
  134. depends on MMC_SDHCI && PLAT_SAMSUNG
  135. help
  136. This selects the Secure Digital Host Controller Interface (SDHCI)
  137. often referrered to as the HSMMC block in some of the Samsung S3C
  138. range of SoC.
  139. Note, due to the problems with DMA, the DMA support is only
  140. available with CONFIG_EXPERIMENTAL is selected.
  141. If you have a controller with this interface, say Y or M here.
  142. If unsure, say N.
  143. config MMC_SDHCI_PXA
  144. tristate "Marvell PXA168/PXA910/MMP2 SD Host Controller support"
  145. depends on ARCH_PXA || ARCH_MMP
  146. select MMC_SDHCI
  147. select MMC_SDHCI_IO_ACCESSORS
  148. help
  149. This selects the Marvell(R) PXA168/PXA910/MMP2 SD Host Controller.
  150. If you have a PXA168/PXA910/MMP2 platform with SD Host Controller
  151. and a card slot, say Y or M here.
  152. If unsure, say N.
  153. config MMC_SDHCI_SPEAR
  154. tristate "SDHCI support on ST SPEAr platform"
  155. depends on MMC_SDHCI && PLAT_SPEAR
  156. help
  157. This selects the Secure Digital Host Controller Interface (SDHCI)
  158. often referrered to as the HSMMC block in some of the ST SPEAR range
  159. of SoC
  160. If you have a controller with this interface, say Y or M here.
  161. If unsure, say N.
  162. config MMC_SDHCI_S3C_DMA
  163. bool "DMA support on S3C SDHCI"
  164. depends on MMC_SDHCI_S3C && EXPERIMENTAL
  165. help
  166. Enable DMA support on the Samsung S3C SDHCI glue. The DMA
  167. has proved to be problematic if the controller encounters
  168. certain errors, and thus should be treated with care.
  169. YMMV.
  170. config MMC_OMAP
  171. tristate "TI OMAP Multimedia Card Interface support"
  172. depends on ARCH_OMAP
  173. select TPS65010 if MACH_OMAP_H2
  174. help
  175. This selects the TI OMAP Multimedia card Interface.
  176. If you have an OMAP board with a Multimedia Card slot,
  177. say Y or M here.
  178. If unsure, say N.
  179. config MMC_OMAP_HS
  180. tristate "TI OMAP High Speed Multimedia Card Interface support"
  181. depends on ARCH_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
  182. help
  183. This selects the TI OMAP High Speed Multimedia card Interface.
  184. If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
  185. Multimedia Card slot, say Y or M here.
  186. If unsure, say N.
  187. config MMC_WBSD
  188. tristate "Winbond W83L51xD SD/MMC Card Interface support"
  189. depends on ISA_DMA_API
  190. help
  191. This selects the Winbond(R) W83L51xD Secure digital and
  192. Multimedia card Interface.
  193. If you have a machine with a integrated W83L518D or W83L519D
  194. SD/MMC card reader, say Y or M here.
  195. If unsure, say N.
  196. config MMC_AU1X
  197. tristate "Alchemy AU1XX0 MMC Card Interface support"
  198. depends on SOC_AU1200
  199. help
  200. This selects the AMD Alchemy(R) Multimedia card interface.
  201. If you have a Alchemy platform with a MMC slot, say Y or M here.
  202. If unsure, say N.
  203. choice
  204. prompt "Atmel SD/MMC Driver"
  205. depends on AVR32 || ARCH_AT91
  206. default MMC_ATMELMCI if AVR32
  207. help
  208. Choose which driver to use for the Atmel MCI Silicon
  209. config MMC_AT91
  210. tristate "AT91 SD/MMC Card Interface support"
  211. depends on ARCH_AT91
  212. help
  213. This selects the AT91 MCI controller.
  214. If unsure, say N.
  215. config MMC_ATMELMCI
  216. tristate "Atmel Multimedia Card Interface support"
  217. depends on AVR32 || ARCH_AT91
  218. help
  219. This selects the Atmel Multimedia Card Interface driver. If
  220. you have an AT32 (AVR32) or AT91 platform with a Multimedia
  221. Card slot, say Y or M here.
  222. If unsure, say N.
  223. endchoice
  224. config MMC_ATMELMCI_DMA
  225. bool "Atmel MCI DMA support (EXPERIMENTAL)"
  226. depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE && EXPERIMENTAL
  227. help
  228. Say Y here to have the Atmel MCI driver use a DMA engine to
  229. do data transfers and thus increase the throughput and
  230. reduce the CPU utilization. Note that this is highly
  231. experimental and may cause the driver to lock up.
  232. If unsure, say N.
  233. config MMC_IMX
  234. tristate "Motorola i.MX Multimedia Card Interface support"
  235. depends on ARCH_MX1
  236. help
  237. This selects the Motorola i.MX Multimedia card Interface.
  238. If you have a i.MX platform with a Multimedia Card slot,
  239. say Y or M here.
  240. If unsure, say N.
  241. config MMC_MSM
  242. tristate "Qualcomm SDCC Controller Support"
  243. depends on MMC && ARCH_MSM
  244. help
  245. This provides support for the SD/MMC cell found in the
  246. MSM and QSD SOCs from Qualcomm. The controller also has
  247. support for SDIO devices.
  248. config MMC_MXC
  249. tristate "Freescale i.MX2/3 Multimedia Card Interface support"
  250. depends on ARCH_MXC
  251. help
  252. This selects the Freescale i.MX2/3 Multimedia card Interface.
  253. If you have a i.MX platform with a Multimedia Card slot,
  254. say Y or M here.
  255. If unsure, say N.
  256. config MMC_TIFM_SD
  257. tristate "TI Flash Media MMC/SD Interface support (EXPERIMENTAL)"
  258. depends on EXPERIMENTAL && PCI
  259. select TIFM_CORE
  260. help
  261. Say Y here if you want to be able to access MMC/SD cards with
  262. the Texas Instruments(R) Flash Media card reader, found in many
  263. laptops.
  264. This option 'selects' (turns on, enables) 'TIFM_CORE', but you
  265. probably also need appropriate card reader host adapter, such as
  266. 'Misc devices: TI Flash Media PCI74xx/PCI76xx host adapter support
  267. (TIFM_7XX1)'.
  268. To compile this driver as a module, choose M here: the
  269. module will be called tifm_sd.
  270. config MMC_MVSDIO
  271. tristate "Marvell MMC/SD/SDIO host driver"
  272. depends on PLAT_ORION
  273. ---help---
  274. This selects the Marvell SDIO host driver.
  275. SDIO may currently be found on the Kirkwood 88F6281 and 88F6192
  276. SoC controllers.
  277. To compile this driver as a module, choose M here: the
  278. module will be called mvsdio.
  279. config MMC_DAVINCI
  280. tristate "TI DAVINCI Multimedia Card Interface support"
  281. depends on ARCH_DAVINCI
  282. help
  283. This selects the TI DAVINCI Multimedia card Interface.
  284. If you have an DAVINCI board with a Multimedia Card slot,
  285. say Y or M here. If unsure, say N.
  286. config MMC_SPI
  287. tristate "MMC/SD/SDIO over SPI"
  288. depends on SPI_MASTER && !HIGHMEM && HAS_DMA
  289. select CRC7
  290. select CRC_ITU_T
  291. help
  292. Some systems access MMC/SD/SDIO cards using a SPI controller
  293. instead of using a "native" MMC/SD/SDIO controller. This has a
  294. disadvantage of being relatively high overhead, but a compensating
  295. advantage of working on many systems without dedicated MMC/SD/SDIO
  296. controllers.
  297. If unsure, or if your system has no SPI master driver, say N.
  298. config MMC_S3C
  299. tristate "Samsung S3C SD/MMC Card Interface support"
  300. depends on ARCH_S3C2410
  301. help
  302. This selects a driver for the MCI interface found in
  303. Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
  304. If you have a board based on one of those and a MMC/SD
  305. slot, say Y or M here.
  306. If unsure, say N.
  307. config MMC_S3C_HW_SDIO_IRQ
  308. bool "Hardware support for SDIO IRQ"
  309. depends on MMC_S3C
  310. help
  311. Enable the hardware support for SDIO interrupts instead of using
  312. the generic polling code.
  313. choice
  314. prompt "Samsung S3C SD/MMC transfer code"
  315. depends on MMC_S3C
  316. config MMC_S3C_PIO
  317. bool "Use PIO transfers only"
  318. help
  319. Use PIO to transfer data between memory and the hardware.
  320. PIO is slower than DMA as it requires CPU instructions to
  321. move the data. This has been the traditional default for
  322. the S3C MCI driver.
  323. config MMC_S3C_DMA
  324. bool "Use DMA transfers only (EXPERIMENTAL)"
  325. depends on EXPERIMENTAL
  326. help
  327. Use DMA to transfer data between memory and the hardare.
  328. Currently, the DMA support in this driver seems to not be
  329. working properly and needs to be debugged before this
  330. option is useful.
  331. config MMC_S3C_PIODMA
  332. bool "Support for both PIO and DMA (EXPERIMENTAL)"
  333. help
  334. Compile both the PIO and DMA transfer routines into the
  335. driver and let the platform select at run-time which one
  336. is best.
  337. See notes for the DMA option.
  338. endchoice
  339. config MMC_SDRICOH_CS
  340. tristate "MMC/SD driver for Ricoh Bay1Controllers (EXPERIMENTAL)"
  341. depends on EXPERIMENTAL && PCI && PCMCIA
  342. help
  343. Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
  344. card whenever you insert a MMC or SD card into the card slot.
  345. To compile this driver as a module, choose M here: the
  346. module will be called sdricoh_cs.
  347. config MMC_TMIO
  348. tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
  349. depends on MFD_TMIO || MFD_ASIC3 || MFD_SH_MOBILE_SDHI
  350. help
  351. This provides support for the SD/MMC cell found in TC6393XB,
  352. T7L66XB and also HTC ASIC3
  353. config MMC_CB710
  354. tristate "ENE CB710 MMC/SD Interface support"
  355. depends on PCI
  356. select MISC_DEVICES
  357. select CB710_CORE
  358. help
  359. This option enables support for MMC/SD part of ENE CB710/720 Flash
  360. memory card reader found in some laptops (ie. some versions of
  361. HP Compaq nx9500).
  362. This driver can also be built as a module. If so, the module
  363. will be called cb710-mmc.
  364. config MMC_VIA_SDMMC
  365. tristate "VIA SD/MMC Card Reader Driver"
  366. depends on PCI
  367. help
  368. This selects the VIA SD/MMC Card Reader driver, say Y or M here.
  369. VIA provides one multi-functional card reader which integrated into
  370. some motherboards manufactured by VIA. This card reader supports
  371. SD/MMC/SDHC.
  372. If you have a controller with this interface, say Y or M here.
  373. If unsure, say N.
  374. config SDH_BFIN
  375. tristate "Blackfin Secure Digital Host support"
  376. depends on (BF54x && !BF544) || (BF51x && !BF512)
  377. help
  378. If you say yes here you will get support for the Blackfin on-chip
  379. Secure Digital Host interface. This includes support for MMC and
  380. SD cards.
  381. To compile this driver as a module, choose M here: the
  382. module will be called bfin_sdh.
  383. If unsure, say N.
  384. config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
  385. bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
  386. depends on SDH_BFIN
  387. help
  388. If you say yes here SD-Cards may work on the EZkit.
  389. config MMC_DW
  390. tristate "Synopsys DesignWare Memory Card Interface"
  391. depends on ARM
  392. help
  393. This selects support for the Synopsys DesignWare Mobile Storage IP
  394. block, this provides host support for SD and MMC interfaces, in both
  395. PIO and external DMA modes.
  396. config MMC_DW_IDMAC
  397. bool "Internal DMAC interface"
  398. depends on MMC_DW
  399. help
  400. This selects support for the internal DMAC block within the Synopsys
  401. Designware Mobile Storage IP block. This disables the external DMA
  402. interface.
  403. config MMC_SH_MMCIF
  404. tristate "SuperH Internal MMCIF support"
  405. depends on MMC_BLOCK && (SUPERH || ARCH_SHMOBILE)
  406. help
  407. This selects the MMC Host Interface controler (MMCIF).
  408. This driver supports MMCIF in sh7724/sh7757/sh7372.
  409. config MMC_JZ4740
  410. tristate "JZ4740 SD/Multimedia Card Interface support"
  411. depends on MACH_JZ4740
  412. help
  413. This selects support for the SD/MMC controller on Ingenic JZ4740
  414. SoCs.
  415. If you have a board based on such a SoC and with a SD/MMC slot,
  416. say Y or M here.
  417. config MMC_USHC
  418. tristate "USB SD Host Controller (USHC) support"
  419. depends on USB
  420. help
  421. This selects support for USB SD Host Controllers based on
  422. the Cypress Astoria chip with firmware compliant with CSR's
  423. USB SD Host Controller specification (CS-118793-SP).
  424. CSR boards with this device include: USB<>SDIO (M1985v2),
  425. and Ultrasira.
  426. Note: These controllers only support SDIO cards and do not
  427. support MMC or SD memory cards.