Kconfig 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858
  1. menu "MMC Host controller Support"
  2. config MMC
  3. bool "MMC/SD/SDIO card support"
  4. default ARM || PPC || SANDBOX
  5. select HAVE_BLOCK_DEVICE
  6. select DM_MMC if DM
  7. help
  8. This selects MultiMediaCard, Secure Digital and Secure
  9. Digital I/O support.
  10. If you want MMC/SD/SDIO support, you should say Y here and
  11. also to your specific host controller driver.
  12. config MMC_WRITE
  13. bool "support for MMC/SD write operations"
  14. depends on MMC
  15. default y
  16. help
  17. Enable write access to MMC and SD Cards
  18. config MMC_PWRSEQ
  19. bool "HW reset support for eMMC"
  20. depends on PWRSEQ
  21. help
  22. Ths select Hardware reset support aka pwrseq-emmc for eMMC
  23. devices.
  24. config MMC_BROKEN_CD
  25. bool "Poll for broken card detection case"
  26. help
  27. If card detection feature is broken, just poll to detect.
  28. config DM_MMC
  29. bool "Enable MMC controllers using Driver Model"
  30. depends on DM
  31. select BLK
  32. help
  33. This enables the MultiMediaCard (MMC) uclass which supports MMC and
  34. Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
  35. and non-removable (e.g. eMMC chip) devices are supported. These
  36. appear as block devices in U-Boot and can support filesystems such
  37. as EXT4 and FAT.
  38. config SPL_DM_MMC
  39. bool "Enable MMC controllers using Driver Model in SPL"
  40. depends on SPL_DM && DM_MMC
  41. default y
  42. help
  43. This enables the MultiMediaCard (MMC) uclass which supports MMC and
  44. Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
  45. and non-removable (e.g. eMMC chip) devices are supported. These
  46. appear as block devices in U-Boot and can support filesystems such
  47. as EXT4 and FAT.
  48. if MMC
  49. config MMC_SDHCI_ADMA_HELPERS
  50. bool
  51. config MMC_SPI
  52. bool "Support for SPI-based MMC controller"
  53. depends on DM_MMC && DM_SPI
  54. help
  55. This selects SPI-based MMC controllers.
  56. If you have an MMC controller on a SPI bus, say Y here.
  57. If unsure, say N.
  58. config MMC_SPI_CRC_ON
  59. bool "Support CRC for SPI-based MMC controller"
  60. depends on MMC_SPI
  61. default y
  62. help
  63. This enables CRC for SPI-based MMC controllers.
  64. If unsure, say N.
  65. config ARM_PL180_MMCI
  66. bool "ARM AMBA Multimedia Card Interface and compatible support"
  67. help
  68. This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
  69. Interface (PL180, PL181 and compatible) support.
  70. If you have an ARM(R) platform with a Multimedia Card slot,
  71. say Y or M here.
  72. config MMC_QUIRKS
  73. bool "Enable quirks"
  74. default y
  75. help
  76. Some cards and hosts may sometimes behave unexpectedly (quirks).
  77. This option enable workarounds to handle those quirks. Some of them
  78. are enabled by default, other may require additional flags or are
  79. enabled by the host driver.
  80. config MMC_HW_PARTITIONING
  81. bool "Support for HW partitioning command(eMMC)"
  82. default y
  83. help
  84. This adds a command and an API to do hardware partitioning on eMMC
  85. devices.
  86. config SUPPORT_EMMC_RPMB
  87. bool "Support eMMC replay protected memory block (RPMB)"
  88. imply CMD_MMC_RPMB
  89. help
  90. Enable support for reading, writing and programming the
  91. key for the Replay Protection Memory Block partition in eMMC.
  92. config SUPPORT_EMMC_BOOT
  93. bool "Support some additional features of the eMMC boot partitions"
  94. help
  95. Enable support for eMMC boot partitions. This also enables
  96. extensions within the mmc command.
  97. config MMC_IO_VOLTAGE
  98. bool "Support IO voltage configuration"
  99. help
  100. IO voltage configuration allows selecting the voltage level of the IO
  101. lines (not the level of main supply). This is required for UHS
  102. support. For eMMC this not mandatory, but not enabling this option may
  103. prevent the driver of using the faster modes.
  104. config SPL_MMC_IO_VOLTAGE
  105. bool "Support IO voltage configuration in SPL"
  106. default n
  107. help
  108. IO voltage configuration allows selecting the voltage level of the IO
  109. lines (not the level of main supply). This is required for UHS
  110. support. For eMMC this not mandatory, but not enabling this option may
  111. prevent the driver of using the faster modes.
  112. config MMC_UHS_SUPPORT
  113. bool "enable UHS support"
  114. depends on MMC_IO_VOLTAGE
  115. help
  116. The Ultra High Speed (UHS) bus is available on some SDHC and SDXC
  117. cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus
  118. frequency can go up to 208MHz (SDR104)
  119. config SPL_MMC_UHS_SUPPORT
  120. bool "enable UHS support in SPL"
  121. depends on SPL_MMC_IO_VOLTAGE
  122. help
  123. The Ultra High Speed (UHS) bus is available on some SDHC and SDXC
  124. cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus
  125. frequency can go up to 208MHz (SDR104)
  126. config MMC_HS400_ES_SUPPORT
  127. bool "enable HS400 Enhanced Strobe support"
  128. help
  129. The HS400 Enhanced Strobe mode is support by some eMMC. The bus
  130. frequency is up to 200MHz. This mode does not tune the IO.
  131. config SPL_MMC_HS400_ES_SUPPORT
  132. bool "enable HS400 Enhanced Strobe support in SPL"
  133. help
  134. The HS400 Enhanced Strobe mode is support by some eMMC. The bus
  135. frequency is up to 200MHz. This mode does not tune the IO.
  136. config MMC_HS400_SUPPORT
  137. bool "enable HS400 support"
  138. select MMC_HS200_SUPPORT
  139. help
  140. The HS400 mode is support by some eMMC. The bus frequency is up to
  141. 200MHz. This mode requires tuning the IO.
  142. config SPL_MMC_HS400_SUPPORT
  143. bool "enable HS400 support in SPL"
  144. select SPL_MMC_HS200_SUPPORT
  145. help
  146. The HS400 mode is support by some eMMC. The bus frequency is up to
  147. 200MHz. This mode requires tuning the IO.
  148. config MMC_HS200_SUPPORT
  149. bool "enable HS200 support"
  150. help
  151. The HS200 mode is support by some eMMC. The bus frequency is up to
  152. 200MHz. This mode requires tuning the IO.
  153. config SPL_MMC_HS200_SUPPORT
  154. bool "enable HS200 support in SPL"
  155. help
  156. The HS200 mode is support by some eMMC. The bus frequency is up to
  157. 200MHz. This mode requires tuning the IO.
  158. config MMC_VERBOSE
  159. bool "Output more information about the MMC"
  160. default y
  161. help
  162. Enable the output of more information about the card such as the
  163. operating mode.
  164. config MMC_TRACE
  165. bool "MMC debugging"
  166. default n
  167. help
  168. This is an option for use by developer. Enable MMC core debugging.
  169. If you need to see the MMC core message, say Y.
  170. config MMC_DAVINCI
  171. bool "TI DAVINCI Multimedia Card Interface support"
  172. depends on ARCH_DAVINCI
  173. default y
  174. help
  175. This selects the TI DAVINCI Multimedia card Interface.
  176. If you have an DAVINCI board with a Multimedia Card slot,
  177. say Y here. If unsure, say N.
  178. config MMC_DW
  179. bool "Synopsys DesignWare Memory Card Interface"
  180. select BOUNCE_BUFFER
  181. help
  182. This selects support for the Synopsys DesignWare Mobile Storage IP
  183. block, this provides host support for SD and MMC interfaces, in both
  184. PIO, internal DMA mode and external DMA mode.
  185. config MMC_DW_CORTINA
  186. bool "Cortina specific extensions for Synopsys DW Memory Card Interface"
  187. depends on DM_MMC
  188. depends on MMC_DW
  189. depends on BLK
  190. default n
  191. help
  192. This selects support for Cortina SoC specific extensions to the
  193. Synopsys DesignWare Memory Card Interface driver. Select this option
  194. for platforms based on Cortina CAxxxx Soc's.
  195. config MMC_DW_EXYNOS
  196. bool "Exynos specific extensions for Synopsys DW Memory Card Interface"
  197. depends on ARCH_EXYNOS
  198. depends on MMC_DW
  199. default y
  200. help
  201. This selects support for Samsung Exynos SoC specific extensions to the
  202. Synopsys DesignWare Memory Card Interface driver. Select this option
  203. for platforms based on Exynos4 and Exynos5 SoC's.
  204. config MMC_DW_K3
  205. bool "K3 specific extensions for Synopsys DW Memory Card Interface"
  206. depends on MMC_DW
  207. help
  208. This selects support for Hisilicon K3 SoC specific extensions to the
  209. Synopsys DesignWare Memory Card Interface driver. Select this option
  210. for platforms based on Hisilicon K3 SoC's.
  211. config MMC_DW_ROCKCHIP
  212. bool "Rockchip SD/MMC controller support"
  213. depends on DM_MMC && OF_CONTROL
  214. depends on MMC_DW
  215. help
  216. This enables support for the Rockchip SD/MMM controller, which is
  217. based on Designware IP. The device is compatible with at least
  218. SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
  219. as removeable SD and micro-SD cards.
  220. config MMC_DW_SOCFPGA
  221. bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
  222. depends on ARCH_SOCFPGA
  223. depends on MMC_DW
  224. default y
  225. help
  226. This selects support for Altera SOCFPGA specific extensions to the
  227. Synopsys DesignWare Memory Card Interface driver. Select this option
  228. for platforms based on Altera SOCFPGA.
  229. config MMC_DW_SNPS
  230. bool "Extensions for DW Memory Card Interface used in Synopsys ARC devboards"
  231. depends on MMC_DW
  232. depends on DM_MMC
  233. depends on OF_CONTROL
  234. depends on CLK
  235. help
  236. This selects support for Synopsys DesignWare Memory Card Interface driver
  237. extensions used in various Synopsys ARC devboards.
  238. config NEXELL_DWMMC
  239. bool "Nexell SD/MMC controller support"
  240. depends on ARCH_NEXELL
  241. depends on MMC_DW
  242. depends on DM_MMC
  243. depends on PINCTRL_NEXELL
  244. default y
  245. config MMC_MESON_GX
  246. bool "Meson GX EMMC controller support"
  247. depends on DM_MMC && BLK && ARCH_MESON
  248. help
  249. Support for EMMC host controller on Meson GX ARM SoCs platform (S905)
  250. config MMC_MXC
  251. bool "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
  252. help
  253. This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
  254. Multimedia Card Interface. If you have an i.MX or MPC512x platform
  255. with a Multimedia Card slot, say Y here.
  256. If unsure, say N.
  257. config MMC_MXS
  258. bool "Freescale MXS Multimedia Card Interface support"
  259. depends on MX23 || MX28 || MX6 || MX7
  260. select BOUNCE_BUFFER
  261. select APBH_DMA
  262. select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7
  263. select APBH_DMA_BURST8 if ARCH_MX6 || ARCH_MX7
  264. help
  265. This selects the Freescale SSP MMC controller found on MXS based
  266. platforms like mx23/28.
  267. If unsure, say N.
  268. config MMC_PCI
  269. bool "Support for MMC controllers on PCI"
  270. depends on MMC_SDHCI
  271. help
  272. This selects PCI-based MMC controllers.
  273. If you have an MMC controller on a PCI bus, say Y here.
  274. config MMC_OCTEONTX
  275. bool "Marvell Octeon Multimedia Card Interface support"
  276. depends on (ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2)
  277. depends on DM_MMC
  278. help
  279. This selects the Octeon Multimedia card Interface.
  280. If you have an OcteonTX/TX2 or MIPS Octeon board with a
  281. Multimedia Card slot, say Y here.
  282. If unsure, say N.
  283. config MVEBU_MMC
  284. bool "Kirkwood MMC controller support"
  285. depends on DM_MMC && BLK && ARCH_KIRKWOOD
  286. help
  287. Support for MMC host controller on Kirkwood SoCs.
  288. If you are on a Kirkwood architecture, say Y here.
  289. If unsure, say N.
  290. config PXA_MMC_GENERIC
  291. bool "Support for MMC controllers on PXA"
  292. help
  293. This selects MMC controllers on PXA.
  294. If you are on a PXA architecture, say Y here.
  295. If unsure, say N.
  296. config MMC_OMAP_HS
  297. bool "TI OMAP High Speed Multimedia Card Interface support"
  298. select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
  299. select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
  300. help
  301. This selects the TI OMAP High Speed Multimedia card Interface.
  302. If you have an omap2plus board with a Multimedia Card slot,
  303. say Y here.
  304. If unsure, say N.
  305. config MMC_OMAP_HS_ADMA
  306. bool "ADMA support for OMAP HS MMC"
  307. depends on MMC_OMAP_HS && !OMAP34XX
  308. default y if !AM33XX
  309. help
  310. This enables support for the ADMA2 controller (SDA3.00 Part A2 DMA
  311. controller). If supported by the hardware, selecting this option will
  312. increase performances.
  313. config MMC_OMAP36XX_PINS
  314. bool "Enable MMC1 on OMAP36xx/37xx"
  315. depends on OMAP34XX && MMC_OMAP_HS
  316. help
  317. This enables extended-drain in the MMC/SD/SDIO1I/O and
  318. GPIO-associated I/O cells (gpio_126, gpio_127, and gpio_129)
  319. specific to the OMAP36xx/37xx using MMC1
  320. If you have a controller with this interface, say Y here.
  321. If unsure, say N.
  322. config SH_SDHI
  323. bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
  324. depends on ARCH_RMOBILE
  325. help
  326. Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
  327. config SH_MMCIF
  328. bool "SuperH/Renesas ARM SoCs on-chip MMCIF host controller support"
  329. depends on ARCH_RMOBILE || SH
  330. help
  331. Support for the on-chip MMCIF host controller on SuperH/Renesas ARM SoCs platform
  332. config MMC_UNIPHIER
  333. bool "UniPhier SD/MMC Host Controller support"
  334. depends on ARCH_UNIPHIER
  335. depends on BLK && DM_MMC
  336. depends on OF_CONTROL
  337. help
  338. This selects support for the Matsushita SD/MMC Host Controller on
  339. SocioNext UniPhier SoCs.
  340. config RENESAS_SDHI
  341. bool "Renesas R-Car SD/MMC Host Controller support"
  342. depends on ARCH_RMOBILE
  343. depends on BLK && DM_MMC
  344. depends on OF_CONTROL
  345. select BOUNCE_BUFFER
  346. help
  347. This selects support for the Matsushita SD/MMC Host Controller on
  348. Renesas R-Car SoCs.
  349. config MMC_BCM2835
  350. bool "BCM2835 family custom SD/MMC Host Controller support"
  351. depends on ARCH_BCM283X
  352. depends on BLK && DM_MMC
  353. depends on OF_CONTROL
  354. default y
  355. help
  356. This selects support for the custom SD host controller in the BCM2835
  357. family of devices.
  358. If you have a BCM2835 platform with SD or MMC devices, say Y here.
  359. If unsure, say N.
  360. config JZ47XX_MMC
  361. bool "Ingenic JZ47xx SD/MMC Host Controller support"
  362. depends on ARCH_JZ47XX
  363. help
  364. This selects support for the SD Card Controller on Ingenic JZ47xx SoCs.
  365. config MMC_SANDBOX
  366. bool "Sandbox MMC support"
  367. depends on SANDBOX
  368. depends on BLK && DM_MMC && OF_CONTROL
  369. help
  370. This select a dummy sandbox MMC driver. At present this does nothing
  371. other than allow sandbox to be build with MMC support. This
  372. improves build coverage for sandbox and makes it easier to detect
  373. MMC build errors with sandbox.
  374. config MMC_SDHCI
  375. bool "Secure Digital Host Controller Interface support"
  376. help
  377. This selects the generic Secure Digital Host Controller Interface.
  378. It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
  379. and Toshiba(R). Most controllers found in laptops are of this type.
  380. If you have a controller with this interface, say Y here.
  381. If unsure, say N.
  382. config MMC_SDHCI_IO_ACCESSORS
  383. bool
  384. depends on MMC_SDHCI
  385. help
  386. This is silent Kconfig symbol that is selected by the drivers that
  387. need to overwrite SDHCI IO memory accessors.
  388. config MMC_SDHCI_SDMA
  389. bool "Support SDHCI SDMA"
  390. depends on MMC_SDHCI
  391. help
  392. This enables support for the SDMA (Single Operation DMA) defined
  393. in the SD Host Controller Standard Specification Version 1.00 .
  394. config MMC_SDHCI_ADMA
  395. bool "Support SDHCI ADMA2"
  396. depends on MMC_SDHCI
  397. select MMC_SDHCI_ADMA_HELPERS
  398. help
  399. This enables support for the ADMA (Advanced DMA) defined
  400. in the SD Host Controller Standard Specification Version 3.00
  401. config SPL_MMC_SDHCI_ADMA
  402. bool "Support SDHCI ADMA2 in SPL"
  403. depends on MMC_SDHCI
  404. select MMC_SDHCI_ADMA_HELPERS
  405. help
  406. This enables support for the ADMA (Advanced DMA) defined
  407. in the SD Host Controller Standard Specification Version 3.00 in SPL.
  408. config MMC_SDHCI_ASPEED
  409. bool "Aspeed SDHCI controller"
  410. depends on ARCH_ASPEED
  411. depends on DM_MMC
  412. depends on MMC_SDHCI
  413. help
  414. Enables support for the Aspeed SDHCI 2.0 controller present on Aspeed
  415. SoCs. This device is compatible with SD 3.0 and/or MMC 4.3
  416. specifications. On the AST2600, the device is also compatible with
  417. MMC 5.1 and eMMC 3.0.
  418. config MMC_SDHCI_ATMEL
  419. bool "Atmel SDHCI controller support"
  420. depends on ARCH_AT91
  421. depends on DM_MMC && BLK && ARCH_AT91
  422. depends on MMC_SDHCI
  423. help
  424. This enables support for the Atmel SDHCI controller, which supports
  425. the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
  426. Memory Card Specification V3.0, and the SDIO V3.0 specification.
  427. It is compliant with the SD Host Controller Standard V3.0
  428. specification.
  429. config MMC_SDHCI_BCM2835
  430. tristate "SDHCI support for the BCM2835 SD/MMC Controller"
  431. depends on ARCH_BCM283X
  432. depends on MMC_SDHCI
  433. select MMC_SDHCI_IO_ACCESSORS
  434. help
  435. This selects the BCM2835 SD/MMC controller.
  436. If you have a BCM2835 platform with SD or MMC devices,
  437. say Y here.
  438. If unsure, say N.
  439. config MMC_SDHCI_BCMSTB
  440. tristate "SDHCI support for the BCMSTB SD/MMC Controller"
  441. depends on MMC_SDHCI
  442. help
  443. This selects the Broadcom set-top box SD/MMC controller.
  444. If you have a BCMSTB platform with SD or MMC devices,
  445. say Y here.
  446. If unsure, say N.
  447. config MMC_SDHCI_CADENCE
  448. bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
  449. depends on BLK && DM_MMC
  450. depends on MMC_SDHCI
  451. depends on OF_CONTROL
  452. help
  453. This selects the Cadence SD/SDIO/eMMC driver.
  454. If you have a controller with this interface, say Y here.
  455. If unsure, say N.
  456. config MMC_SDHCI_AM654
  457. bool "SDHCI Controller on TI's Am654 devices"
  458. depends on ARCH_K3
  459. depends on MMC_SDHCI
  460. depends on DM_MMC && OF_CONTROL && BLK
  461. depends on REGMAP
  462. select MMC_SDHCI_IO_ACCESSORS
  463. help
  464. Support for Secure Digital Host Controller Interface (SDHCI)
  465. controllers present on TI's AM654 SOCs.
  466. config MMC_SDHCI_IPROC
  467. bool "SDHCI support for the iProc SD/MMC Controller"
  468. depends on MMC_SDHCI
  469. help
  470. This selects the iProc SD/MMC controller.
  471. If you have a Broadcom IPROC platform with SD or MMC devices,
  472. say Y or M here.
  473. If unsure, say N.
  474. config MMC_SDHCI_F_SDH30
  475. bool "SDHCI support for Fujitsu Semiconductor F_SDH30"
  476. depends on BLK && DM_MMC
  477. depends on MMC_SDHCI
  478. help
  479. This selects the Secure Digital Host Controller Interface (SDHCI)
  480. Needed by some Fujitsu SoC for MMC / SD / SDIO support.
  481. If you have a controller with this interface, say Y or M here.
  482. If unsure, say N.
  483. config MMC_SDHCI_KONA
  484. bool "SDHCI support on Broadcom KONA platform"
  485. depends on MMC_SDHCI
  486. help
  487. This selects the Broadcom Kona Secure Digital Host Controller
  488. Interface(SDHCI) support.
  489. This is used in Broadcom mobile SoCs.
  490. If you have a controller with this interface, say Y here.
  491. config MMC_SDHCI_MSM
  492. bool "Qualcomm SDHCI controller"
  493. depends on BLK && DM_MMC
  494. depends on MMC_SDHCI
  495. help
  496. Enables support for SDHCI 2.0 controller present on some Qualcomm
  497. Snapdragon devices. This device is compatible with eMMC v4.5 and
  498. SD 3.0 specifications. Both SD and eMMC devices are supported.
  499. Card-detect gpios are not supported.
  500. config MMC_SDHCI_MV
  501. bool "SDHCI support on Marvell platform"
  502. depends on ARCH_MVEBU
  503. depends on MMC_SDHCI
  504. help
  505. This selects the Secure Digital Host Controller Interface on
  506. Marvell platform.
  507. If you have a controller with this interface, say Y here.
  508. If unsure, say N.
  509. config MMC_SDHCI_PIC32
  510. bool "Microchip PIC32 on-chip SDHCI support"
  511. depends on DM_MMC && MACH_PIC32
  512. depends on MMC_SDHCI
  513. help
  514. Support for Microchip PIC32 SDHCI controller.
  515. config MMC_SDHCI_ROCKCHIP
  516. bool "Arasan SDHCI controller for Rockchip support"
  517. depends on ARCH_ROCKCHIP
  518. depends on DM_MMC && BLK
  519. depends on MMC_SDHCI
  520. help
  521. Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
  522. config MMC_SDHCI_S5P
  523. bool "SDHCI support on Samsung S5P SoC"
  524. depends on MMC_SDHCI
  525. help
  526. This selects the Secure Digital Host Controller Interface (SDHCI)
  527. on Samsung S5P SoCs.
  528. If you have a controller with this interface, say Y here.
  529. If unsure, say N.
  530. config MMC_SDHCI_SPEAR
  531. bool "SDHCI support on ST SPEAr platform"
  532. depends on MMC_SDHCI
  533. help
  534. This selects the Secure Digital Host Controller Interface (SDHCI)
  535. often referrered to as the HSMMC block in some of the ST SPEAR range
  536. of SoC
  537. If you have a controller with this interface, say Y here.
  538. If unsure, say N.
  539. config MMC_SDHCI_STI
  540. bool "SDHCI support for STMicroelectronics SoC"
  541. depends on MMC_SDHCI && OF_CONTROL
  542. help
  543. This selects the Secure Digital Host Controller Interface (SDHCI)
  544. on STMicroelectronics STiH410 SoC.
  545. config MMC_SDHCI_XENON
  546. bool "SDHCI support for the Xenon SDHCI controller"
  547. depends on MMC_SDHCI && DM_MMC && OF_CONTROL
  548. help
  549. Support for Xenon SDHCI host controller on Marvell Armada 3700
  550. 7k/8k ARM SoCs platforms
  551. If you have a controller with this interface, say Y here.
  552. If unsure, say N.
  553. config MMC_SDHCI_TANGIER
  554. bool "Tangier SDHCI controller support"
  555. depends on DM_MMC && BLK
  556. depends on MMC_SDHCI
  557. help
  558. This selects support for SDHCI controller on Tanginer
  559. SoC. Note that this controller does not sit on PCI bus and,
  560. hence, cannot be enumerated by standard PCI means.
  561. If you're using an Intel Tangier SoC (available on Intel
  562. Edison board), say Y here.
  563. If unsure, say N.
  564. config MMC_SDHCI_TEGRA
  565. bool "SDHCI platform support for the Tegra SD/MMC Controller"
  566. depends on ARCH_TEGRA
  567. select BOUNCE_BUFFER
  568. default y
  569. help
  570. This selects the Tegra SD/MMC controller. If you have a Tegra
  571. platform with SD or MMC devices, say Y here.
  572. If unsure, say N.
  573. config TEGRA124_MMC_DISABLE_EXT_LOOPBACK
  574. bool "Disable external clock loopback"
  575. depends on MMC_SDHCI_TEGRA && TEGRA124
  576. help
  577. Disable the external clock loopback and use the internal one on SDMMC3
  578. as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits
  579. being set to 0xfffd according to the TRM.
  580. TODO(marcel.ziswiler@toradex.com): Move to device tree controlled
  581. approach once proper kernel integration made it mainline.
  582. config MMC_SDHCI_ZYNQ
  583. bool "Arasan SDHCI controller support"
  584. depends on DM_MMC && OF_CONTROL && BLK
  585. depends on MMC_SDHCI
  586. help
  587. Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
  588. config ZYNQ_SDHCI_MAX_FREQ
  589. int "Set the maximum frequency of the controller"
  590. depends on MMC_SDHCI_ZYNQ
  591. help
  592. Set the maximum frequency of the controller.
  593. config ZYNQ_SDHCI_MIN_FREQ
  594. int "Set the minimum frequency of the controller"
  595. depends on MMC_SDHCI_ZYNQ
  596. default 0
  597. help
  598. Set the minimum frequency of the controller.
  599. config ZYNQ_HISPD_BROKEN
  600. bool "High speed broken for Zynq SDHCI controller"
  601. depends on MMC_SDHCI_ZYNQ
  602. help
  603. Set if high speed mode is broken.
  604. config MMC_SUNXI
  605. bool "Allwinner sunxi SD/MMC Host Controller support"
  606. depends on ARCH_SUNXI && !UART0_PORT_F
  607. default y
  608. help
  609. This selects support for the SD/MMC Host Controller on
  610. Allwinner sunxi SoCs.
  611. config MMC_SUNXI_HAS_NEW_MODE
  612. bool
  613. depends on MMC_SUNXI
  614. config MMC_SUNXI_HAS_MODE_SWITCH
  615. bool
  616. depends on MMC_SUNXI
  617. config MMC_PITON
  618. bool "MMC support for OpenPiton SoC"
  619. depends on DM_MMC && BLK
  620. help
  621. This selects support for the SD host controller on OpenPiton SoC.
  622. Note that this SD controller directly exposes the contents of the
  623. SD card as memory mapped, so there is no manual configuration
  624. required
  625. config GENERIC_ATMEL_MCI
  626. bool "Atmel Multimedia Card Interface support"
  627. depends on DM_MMC && BLK && ARCH_AT91
  628. help
  629. This enables support for Atmel High Speed Multimedia Card Interface
  630. (HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3,
  631. the SD Memory Card Specification V2.0, the SDIO V2.0 specification
  632. and CE-ATA V1.1.
  633. config STM32_SDMMC2
  634. bool "STMicroelectronics STM32H7 SD/MMC Host Controller support"
  635. depends on DM_MMC && BLK && OF_CONTROL
  636. help
  637. This selects support for the SD/MMC controller on STM32H7 SoCs.
  638. If you have a board based on such a SoC and with a SD/MMC slot,
  639. say Y or M here.
  640. config FTSDC010
  641. bool "Ftsdc010 SD/MMC controller Support"
  642. help
  643. This SD/MMC controller is present in Andestech SoCs which is based on Faraday IP.
  644. config FTSDC010_SDIO
  645. bool "Support ftsdc010 sdio"
  646. default n
  647. depends on FTSDC010
  648. help
  649. This can enable ftsdc010 sdio function.
  650. config MMC_MTK
  651. bool "MediaTek SD/MMC Card Interface support"
  652. depends on ARCH_MEDIATEK || ARCH_MTMIPS
  653. depends on BLK && DM_MMC
  654. depends on OF_CONTROL
  655. help
  656. This selects the MediaTek(R) Secure digital and Multimedia card Interface.
  657. If you have a machine with a integrated SD/MMC card reader, say Y or M here.
  658. This is needed if support for any SD/SDIO/MMC devices is required.
  659. If unsure, say N.
  660. endif
  661. config FSL_ESDHC
  662. bool "Freescale/NXP eSDHC controller support"
  663. help
  664. This selects support for the eSDHC (Enhanced Secure Digital Host
  665. Controller) found on numerous Freescale/NXP SoCs.
  666. config FSL_ESDHC_SUPPORT_ADMA2
  667. bool "enable ADMA2 support"
  668. depends on FSL_ESDHC
  669. select MMC_SDHCI_ADMA_HELPERS
  670. help
  671. This enables support for the ADMA2 transfer mode. If supported by the
  672. eSDHC it will allow 64bit DMA addresses.
  673. config FSL_ESDHC_33V_IO_RELIABILITY_WORKAROUND
  674. bool "enable eSDHC workaround for 3.3v IO reliability issue"
  675. depends on FSL_ESDHC && DM_MMC
  676. default n
  677. help
  678. When eSDHC operates at 3.3v, damage can accumulate in an internal
  679. level shifter at a higher than expected rate. The faster the interface
  680. runs, the more damage accumulates. This issue now is found on LX2160A
  681. eSDHC1 for only SD card. The hardware workaround is recommended to use
  682. an on-board level shifter that is 1.8v on SoC side and 3.3v on SD card
  683. side. For boards without hardware workaround, this option could be
  684. enabled, ensuring 1.8v IO voltage and disabling eSDHC if no card.
  685. This option assumes no hotplug, and u-boot has to make all the way to
  686. to linux to use 1.8v UHS-I speed mode if has card.
  687. config FSL_ESDHC_VS33_NOT_SUPPORT
  688. bool "3.3V power supply not supported"
  689. depends on FSL_ESDHC
  690. help
  691. For eSDHC, power supply is through peripheral circuit. 3.3V support is
  692. common. Select this if 3.3V power supply not supported.
  693. config FSL_ESDHC_IMX
  694. bool "Freescale/NXP i.MX eSDHC controller support"
  695. help
  696. This selects support for the i.MX eSDHC (Enhanced Secure Digital Host
  697. Controller) found on numerous Freescale/NXP SoCs.
  698. config FSL_USDHC
  699. bool "Freescale/NXP i.MX uSDHC controller support"
  700. depends on MX6 || MX7 ||ARCH_MX7ULP || IMX8 || IMX8M || IMX8ULP || IMXRT
  701. select FSL_ESDHC_IMX
  702. help
  703. This enables the Ultra Secured Digital Host Controller enhancements
  704. endmenu
  705. config SYS_FSL_ERRATUM_ESDHC111
  706. bool
  707. config SYS_FSL_ERRATUM_ESDHC13
  708. bool
  709. config SYS_FSL_ERRATUM_ESDHC135
  710. bool
  711. config SYS_FSL_ERRATUM_ESDHC_A001
  712. bool
  713. config SYS_FSL_ERRATUM_A011334
  714. bool
  715. config SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND
  716. bool