Kconfig 23 KB

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