xref: /openbmc/u-boot/drivers/mmc/Kconfig (revision 62a3b7dd)
172d42badSNobuhiro Iwamatsumenu "MMC Host controller Support"
272d42badSNobuhiro Iwamatsu
37a777f6dSMaxime Ripardconfig MMC
47a777f6dSMaxime Ripard	bool "Enable MMC support"
5f376a3cbSSimon Glass	depends on ARCH_SUNXI || SANDBOX
67a777f6dSMaxime Ripard	help
77a777f6dSMaxime Ripard	  TODO: Move all architectures to use this option
87a777f6dSMaxime Ripard
9e7ecf7cbSSimon Glassconfig DM_MMC
10e7ecf7cbSSimon Glass	bool "Enable MMC controllers using Driver Model"
11e7ecf7cbSSimon Glass	depends on DM
12e7ecf7cbSSimon Glass	help
13*62a3b7ddSRobert P. J. Day	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
14e7ecf7cbSSimon Glass	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
15e7ecf7cbSSimon Glass	  and non-removable (e.g. eMMC chip) devices are supported. These
16e7ecf7cbSSimon Glass	  appear as block devices in U-Boot and can support filesystems such
17e7ecf7cbSSimon Glass	  as EXT4 and FAT.
18e7ecf7cbSSimon Glass
198ca51e51SSimon Glassconfig DM_MMC_OPS
208ca51e51SSimon Glass	bool "Support MMC controller operations using Driver Model"
218ca51e51SSimon Glass	depends on DM_MMC
228ca51e51SSimon Glass	help
238ca51e51SSimon Glass	  Driver model provides a means of supporting device operations. This
248ca51e51SSimon Glass	  option moves MMC operations under the control of driver model. The
258ca51e51SSimon Glass	  option will be removed as soon as all DM_MMC drivers use it, as it
268ca51e51SSimon Glass	  will the only supported behaviour.
278ca51e51SSimon Glass
289d11d12aSMateusz Kulikowskiconfig MSM_SDHCI
299d11d12aSMateusz Kulikowski	bool "Qualcomm SDHCI controller"
304b00bdb7SSimon Glass	depends on DM_MMC && BLK && DM_MMC_OPS
319d11d12aSMateusz Kulikowski	help
329d11d12aSMateusz Kulikowski	  Enables support for SDHCI 2.0 controller present on some Qualcomm
339d11d12aSMateusz Kulikowski          Snapdragon devices. This device is compatible with eMMC v4.5 and
349d11d12aSMateusz Kulikowski          SD 3.0 specifications. Both SD and eMMC devices are supported.
359d11d12aSMateusz Kulikowski	  Card-detect gpios are not supported.
369d11d12aSMateusz Kulikowski
37a8cb4fb5SSimon Glassconfig ROCKCHIP_DWMMC
38a8cb4fb5SSimon Glass	bool "Rockchip SD/MMC controller support"
39a8cb4fb5SSimon Glass	depends on DM_MMC && OF_CONTROL
40a8cb4fb5SSimon Glass	help
41a8cb4fb5SSimon Glass	  This enables support for the Rockchip SD/MMM controller, which is
42a8cb4fb5SSimon Glass	  based on Designware IP. The device is compatible with at least
43a8cb4fb5SSimon Glass	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
44a8cb4fb5SSimon Glass	  as removeable SD and micro-SD cards.
45a8cb4fb5SSimon Glass
4672d42badSNobuhiro Iwamatsuconfig SH_SDHI
4772d42badSNobuhiro Iwamatsu	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
4872d42badSNobuhiro Iwamatsu	depends on RMOBILE
4972d42badSNobuhiro Iwamatsu	help
5072d42badSNobuhiro Iwamatsu	  Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
5172d42badSNobuhiro Iwamatsu
52102142c9SAndrei Pistiricaconfig PIC32_SDHCI
53102142c9SAndrei Pistirica	bool "Microchip PIC32 on-chip SDHCI support"
54102142c9SAndrei Pistirica	depends on DM_MMC && MACH_PIC32
55102142c9SAndrei Pistirica	help
56102142c9SAndrei Pistirica	  Support for Microchip PIC32 SDHCI controller.
57102142c9SAndrei Pistirica
58ce0335f2SMichal Simekconfig ZYNQ_SDHCI
59ce0335f2SMichal Simek	bool "Arasan SDHCI controller support"
60ce0335f2SMichal Simek	depends on DM_MMC && OF_CONTROL
61ce0335f2SMichal Simek	help
62ce0335f2SMichal Simek	  Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
63ce0335f2SMichal Simek
64a111bfbfSMasahiro Yamadaconfig MMC_UNIPHIER
65a111bfbfSMasahiro Yamada	bool "UniPhier SD/MMC Host Controller support"
66a111bfbfSMasahiro Yamada	depends on ARCH_UNIPHIER
67a111bfbfSMasahiro Yamada	help
68a111bfbfSMasahiro Yamada	  This selects support for the SD/MMC Host Controller on UniPhier SoCs.
69a111bfbfSMasahiro Yamada
70f376a3cbSSimon Glassconfig SANDBOX_MMC
71f376a3cbSSimon Glass	bool "Sandbox MMC support"
72f376a3cbSSimon Glass	depends on MMC && SANDBOX
73f376a3cbSSimon Glass	help
74f376a3cbSSimon Glass	  This select a dummy sandbox MMC driver. At present this does nothing
75f376a3cbSSimon Glass	  other than allow sandbox to be build with MMC support. This
76f376a3cbSSimon Glass	  improves build coverage for sandbox and makes it easier to detect
77f376a3cbSSimon Glass	  MMC build errors with sandbox.
78f376a3cbSSimon Glass
7972d42badSNobuhiro Iwamatsuendmenu
80