Kconfig 25 KB

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