Kconfig 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. menu "MMC Host controller Support"
  2. config MMC
  3. bool "MMC/SD/SDIO card support"
  4. default ARM || PPC || SANDBOX
  5. help
  6. This selects MultiMediaCard, Secure Digital and Secure
  7. Digital I/O support.
  8. If you want MMC/SD/SDIO support, you should say Y here and
  9. also to your specific host controller driver.
  10. config DM_MMC
  11. bool "Enable MMC controllers using Driver Model"
  12. depends on DM
  13. help
  14. This enables the MultiMediaCard (MMC) uclass which supports MMC and
  15. Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
  16. and non-removable (e.g. eMMC chip) devices are supported. These
  17. appear as block devices in U-Boot and can support filesystems such
  18. as EXT4 and FAT.
  19. config DM_MMC_OPS
  20. bool "Support MMC controller operations using Driver Model"
  21. depends on DM_MMC
  22. default y if DM_MMC
  23. help
  24. Driver model provides a means of supporting device operations. This
  25. option moves MMC operations under the control of driver model. The
  26. option will be removed as soon as all DM_MMC drivers use it, as it
  27. will the only supported behaviour.
  28. if MMC
  29. config SPL_MMC_TINY
  30. bool "Tiny MMC framework in SPL"
  31. help
  32. Enable MMC framework tinification support. This option is useful if
  33. if your SPL is extremely size constrained. Heed the warning, enable
  34. this option if and only if you know exactly what you are doing, if
  35. you are reading this help text, you most likely have no idea :-)
  36. The MMC framework is reduced to bare minimum to be useful. No malloc
  37. support is needed for the MMC framework operation with this option
  38. enabled. The framework supports exactly one MMC device and exactly
  39. one MMC driver. The MMC driver can be adjusted to avoid any malloc
  40. operations too, which can remove the need for malloc support in SPL
  41. and thus further reduce footprint.
  42. config MSM_SDHCI
  43. bool "Qualcomm SDHCI controller"
  44. depends on DM_MMC && BLK && DM_MMC_OPS
  45. depends on MMC_SDHCI
  46. help
  47. Enables support for SDHCI 2.0 controller present on some Qualcomm
  48. Snapdragon devices. This device is compatible with eMMC v4.5 and
  49. SD 3.0 specifications. Both SD and eMMC devices are supported.
  50. Card-detect gpios are not supported.
  51. config ATMEL_SDHCI
  52. bool "Atmel SDHCI controller support"
  53. depends on DM_MMC && BLK && DM_MMC_OPS && ARCH_AT91
  54. depends on MMC_SDHCI
  55. help
  56. This enables support for the Atmel SDHCI controller, which supports
  57. the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
  58. Memory Card Specification V3.0, and the SDIO V3.0 specification.
  59. It is compliant with the SD Host Controller Standard V3.0
  60. specification.
  61. config MMC_DW
  62. bool "Synopsys DesignWare Memory Card Interface"
  63. help
  64. This selects support for the Synopsys DesignWare Mobile Storage IP
  65. block, this provides host support for SD and MMC interfaces, in both
  66. PIO, internal DMA mode and external DMA mode.
  67. config MMC_DW_EXYNOS
  68. bool "Exynos specific extensions for Synopsys DW Memory Card Interface"
  69. depends on ARCH_EXYNOS
  70. depends on MMC_DW
  71. default y
  72. help
  73. This selects support for Samsung Exynos SoC specific extensions to the
  74. Synopsys DesignWare Memory Card Interface driver. Select this option
  75. for platforms based on Exynos4 and Exynos5 SoC's.
  76. config MMC_DW_K3
  77. bool "K3 specific extensions for Synopsys DW Memory Card Interface"
  78. depends on MMC_DW
  79. help
  80. This selects support for Hisilicon K3 SoC specific extensions to the
  81. Synopsys DesignWare Memory Card Interface driver. Select this option
  82. for platforms based on Hisilicon K3 SoC's.
  83. config MMC_DW_ROCKCHIP
  84. bool "Rockchip SD/MMC controller support"
  85. depends on DM_MMC && OF_CONTROL
  86. depends on MMC_DW
  87. help
  88. This enables support for the Rockchip SD/MMM controller, which is
  89. based on Designware IP. The device is compatible with at least
  90. SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
  91. as removeable SD and micro-SD cards.
  92. config MMC_DW_SOCFPGA
  93. bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
  94. depends on ARCH_SOCFPGA
  95. depends on MMC_DW
  96. default y
  97. help
  98. This selects support for Altera SOCFPGA specific extensions to the
  99. Synopsys DesignWare Memory Card Interface driver. Select this option
  100. for platforms based on Altera SOCFPGA.
  101. config SH_SDHI
  102. bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
  103. depends on RMOBILE
  104. help
  105. Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
  106. config PIC32_SDHCI
  107. bool "Microchip PIC32 on-chip SDHCI support"
  108. depends on DM_MMC && MACH_PIC32
  109. depends on MMC_SDHCI
  110. help
  111. Support for Microchip PIC32 SDHCI controller.
  112. config ZYNQ_SDHCI
  113. bool "Arasan SDHCI controller support"
  114. depends on DM_MMC && OF_CONTROL && BLK && DM_MMC_OPS
  115. depends on MMC_SDHCI
  116. help
  117. Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
  118. config ROCKCHIP_SDHCI
  119. bool "Arasan SDHCI controller for Rockchip support"
  120. depends on DM_MMC && BLK && DM_MMC_OPS
  121. depends on MMC_SDHCI
  122. help
  123. Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
  124. config MMC_UNIPHIER
  125. bool "UniPhier SD/MMC Host Controller support"
  126. depends on ARCH_UNIPHIER
  127. depends on BLK && DM_MMC_OPS
  128. depends on OF_CONTROL
  129. help
  130. This selects support for the SD/MMC Host Controller on UniPhier SoCs.
  131. config SANDBOX_MMC
  132. bool "Sandbox MMC support"
  133. depends on MMC && SANDBOX
  134. help
  135. This select a dummy sandbox MMC driver. At present this does nothing
  136. other than allow sandbox to be build with MMC support. This
  137. improves build coverage for sandbox and makes it easier to detect
  138. MMC build errors with sandbox.
  139. config MMC_SDHCI
  140. bool "Secure Digital Host Controller Interface support"
  141. help
  142. This selects the generic Secure Digital Host Controller Interface.
  143. It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
  144. and Toshiba(R). Most controllers found in laptops are of this type.
  145. If you have a controller with this interface, say Y here.
  146. If unsure, say N.
  147. config MMC_SDHCI_IO_ACCESSORS
  148. bool
  149. depends on MMC_SDHCI
  150. help
  151. This is silent Kconfig symbol that is selected by the drivers that
  152. need to overwrite SDHCI IO memory accessors.
  153. config MMC_SDHCI_SDMA
  154. bool "Support SDHCI SDMA"
  155. depends on MMC_SDHCI
  156. help
  157. This enables support for the SDMA (Single Operation DMA) defined
  158. in the SD Host Controller Standard Specification Version 1.00 .
  159. config MMC_SDHCI_BCM2835
  160. tristate "SDHCI support for the BCM2835 SD/MMC Controller"
  161. depends on ARCH_BCM283X
  162. depends on MMC_SDHCI
  163. select MMC_SDHCI_IO_ACCESSORS
  164. help
  165. This selects the BCM2835 SD/MMC controller.
  166. If you have a BCM2835 platform with SD or MMC devices,
  167. say Y here.
  168. If unsure, say N.
  169. config MMC_SDHCI_CADENCE
  170. bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
  171. depends on BLK && DM_MMC_OPS
  172. depends on MMC_SDHCI
  173. depends on OF_CONTROL
  174. help
  175. This selects the Cadence SD/SDIO/eMMC driver.
  176. If you have a controller with this interface, say Y here.
  177. If unsure, say N.
  178. config MMC_SDHCI_KONA
  179. bool "SDHCI support on Broadcom KONA platform"
  180. depends on MMC_SDHCI
  181. help
  182. This selects the Broadcom Kona Secure Digital Host Controller
  183. Interface(SDHCI) support.
  184. This is used in Broadcom mobile SoCs.
  185. If you have a controller with this interface, say Y here.
  186. config MMC_SDHCI_MV
  187. bool "SDHCI support on Marvell platform"
  188. depends on ARCH_MVEBU
  189. depends on MMC_SDHCI
  190. help
  191. This selects the Secure Digital Host Controller Interface on
  192. Marvell platform.
  193. If you have a controller with this interface, say Y here.
  194. If unsure, say N.
  195. config MMC_SDHCI_S5P
  196. bool "SDHCI support on Samsung S5P SoC"
  197. depends on MMC_SDHCI
  198. help
  199. This selects the Secure Digital Host Controller Interface (SDHCI)
  200. on Samsung S5P SoCs.
  201. If you have a controller with this interface, say Y here.
  202. If unsure, say N.
  203. config MMC_SDHCI_SPEAR
  204. bool "SDHCI support on ST SPEAr platform"
  205. depends on MMC_SDHCI
  206. help
  207. This selects the Secure Digital Host Controller Interface (SDHCI)
  208. often referrered to as the HSMMC block in some of the ST SPEAR range
  209. of SoC
  210. If you have a controller with this interface, say Y here.
  211. If unsure, say N.
  212. endif
  213. endmenu
  214. config SYS_FSL_ERRATUM_ESDHC111
  215. bool
  216. config SYS_FSL_ERRATUM_ESDHC13
  217. bool
  218. config SYS_FSL_ERRATUM_ESDHC135
  219. bool
  220. config SYS_FSL_ERRATUM_ESDHC_A001
  221. bool