Kconfig 22 KB

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