Kconfig 24 KB

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