xref: /openbmc/u-boot/drivers/mmc/Kconfig (revision 3335786a)
1menu "MMC Host controller Support"
2
3config MMC
4	bool "Enable MMC support"
5	depends on ARCH_SUNXI || SANDBOX
6	help
7	  TODO: Move all architectures to use this option
8
9config DM_MMC
10	bool "Enable MMC controllers using Driver Model"
11	depends on DM
12	help
13	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
14	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
15	  and non-removable (e.g. eMMC chip) devices are supported. These
16	  appear as block devices in U-Boot and can support filesystems such
17	  as EXT4 and FAT.
18
19config DM_MMC_OPS
20	bool "Support MMC controller operations using Driver Model"
21	depends on DM_MMC
22	help
23	  Driver model provides a means of supporting device operations. This
24	  option moves MMC operations under the control of driver model. The
25	  option will be removed as soon as all DM_MMC drivers use it, as it
26	  will the only supported behaviour.
27
28config MSM_SDHCI
29	bool "Qualcomm SDHCI controller"
30	depends on DM_MMC && BLK && DM_MMC_OPS
31	help
32	  Enables support for SDHCI 2.0 controller present on some Qualcomm
33          Snapdragon devices. This device is compatible with eMMC v4.5 and
34          SD 3.0 specifications. Both SD and eMMC devices are supported.
35	  Card-detect gpios are not supported.
36
37config ATMEL_SDHCI
38	bool "Atmel SDHCI controller support"
39	depends on DM_MMC && BLK && DM_MMC_OPS && ARCH_AT91
40	help
41	  This enables support for the Atmel SDHCI controller, which supports
42	  the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
43	  Memory Card Specification V3.0, and the SDIO V3.0 specification.
44	  It is compliant with the SD Host Controller Standard V3.0
45	  specification.
46
47config ROCKCHIP_DWMMC
48	bool "Rockchip SD/MMC controller support"
49	depends on DM_MMC && OF_CONTROL
50	help
51	  This enables support for the Rockchip SD/MMM controller, which is
52	  based on Designware IP. The device is compatible with at least
53	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
54	  as removeable SD and micro-SD cards.
55
56config SH_SDHI
57	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
58	depends on RMOBILE
59	help
60	  Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
61
62config PIC32_SDHCI
63	bool "Microchip PIC32 on-chip SDHCI support"
64	depends on DM_MMC && MACH_PIC32
65	help
66	  Support for Microchip PIC32 SDHCI controller.
67
68config ZYNQ_SDHCI
69	bool "Arasan SDHCI controller support"
70	depends on DM_MMC && OF_CONTROL
71	help
72	  Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
73
74config ROCKCHIP_SDHCI
75	bool "Arasan SDHCI controller for Rockchip support"
76	depends on DM_MMC && BLK && DM_MMC_OPS
77	help
78	  Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
79
80config MMC_UNIPHIER
81	bool "UniPhier SD/MMC Host Controller support"
82	depends on ARCH_UNIPHIER
83	depends on BLK
84	select DM_MMC_OPS
85	help
86	  This selects support for the SD/MMC Host Controller on UniPhier SoCs.
87
88config SANDBOX_MMC
89	bool "Sandbox MMC support"
90	depends on MMC && SANDBOX
91	help
92	  This select a dummy sandbox MMC driver. At present this does nothing
93	  other than allow sandbox to be build with MMC support. This
94	  improves build coverage for sandbox and makes it easier to detect
95	  MMC build errors with sandbox.
96
97endmenu
98