xref: /openbmc/u-boot/drivers/mmc/Kconfig (revision cd4b0c5f)
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 suports 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 ROCKCHIP_DWMMC
38	bool "Rockchip SD/MMC controller support"
39	depends on DM_MMC && OF_CONTROL
40	help
41	  This enables support for the Rockchip SD/MMM controller, which is
42	  based on Designware IP. The device is compatible with at least
43	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
44	  as removeable SD and micro-SD cards.
45
46config SH_SDHI
47	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
48	depends on RMOBILE
49	help
50	  Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
51
52config PIC32_SDHCI
53	bool "Microchip PIC32 on-chip SDHCI support"
54	depends on DM_MMC && MACH_PIC32
55	help
56	  Support for Microchip PIC32 SDHCI controller.
57
58config ZYNQ_SDHCI
59	bool "Arasan SDHCI controller support"
60	depends on DM_MMC && OF_CONTROL
61	help
62	  Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
63
64config MMC_UNIPHIER
65	bool "UniPhier SD/MMC Host Controller support"
66	depends on ARCH_UNIPHIER
67	help
68	  This selects support for the SD/MMC Host Controller on UniPhier SoCs.
69
70config SANDBOX_MMC
71	bool "Sandbox MMC support"
72	depends on MMC && SANDBOX
73	help
74	  This select a dummy sandbox MMC driver. At present this does nothing
75	  other than allow sandbox to be build with MMC support. This
76	  improves build coverage for sandbox and makes it easier to detect
77	  MMC build errors with sandbox.
78
79endmenu
80