xref: /openbmc/u-boot/drivers/mmc/Kconfig (revision c2726995)
172d42badSNobuhiro Iwamatsumenu "MMC Host controller Support"
272d42badSNobuhiro Iwamatsu
37a777f6dSMaxime Ripardconfig MMC
4*c2726995SMasahiro Yamada	bool "MMC/SD/SDIO card support"
5*c2726995SMasahiro Yamada	default ARM || PPC || SANDBOX
67a777f6dSMaxime Ripard	help
7*c2726995SMasahiro Yamada	  This selects MultiMediaCard, Secure Digital and Secure
8*c2726995SMasahiro Yamada	  Digital I/O support.
9*c2726995SMasahiro Yamada
10*c2726995SMasahiro Yamada	  If you want MMC/SD/SDIO support, you should say Y here and
11*c2726995SMasahiro Yamada	  also to your specific host controller driver.
127a777f6dSMaxime Ripard
13e7ecf7cbSSimon Glassconfig DM_MMC
14e7ecf7cbSSimon Glass	bool "Enable MMC controllers using Driver Model"
15e7ecf7cbSSimon Glass	depends on DM
16e7ecf7cbSSimon Glass	help
1762a3b7ddSRobert P. J. Day	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
18e7ecf7cbSSimon Glass	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
19e7ecf7cbSSimon Glass	  and non-removable (e.g. eMMC chip) devices are supported. These
20e7ecf7cbSSimon Glass	  appear as block devices in U-Boot and can support filesystems such
21e7ecf7cbSSimon Glass	  as EXT4 and FAT.
22e7ecf7cbSSimon Glass
238ca51e51SSimon Glassconfig DM_MMC_OPS
248ca51e51SSimon Glass	bool "Support MMC controller operations using Driver Model"
258ca51e51SSimon Glass	depends on DM_MMC
26252788b4SSimon Glass	default y if DM_MMC
278ca51e51SSimon Glass	help
288ca51e51SSimon Glass	  Driver model provides a means of supporting device operations. This
298ca51e51SSimon Glass	  option moves MMC operations under the control of driver model. The
308ca51e51SSimon Glass	  option will be removed as soon as all DM_MMC drivers use it, as it
318ca51e51SSimon Glass	  will the only supported behaviour.
328ca51e51SSimon Glass
33b5b838f1SMarek Vasutconfig SPL_MMC_TINY
34b5b838f1SMarek Vasut	bool "Tiny MMC framework in SPL"
35b5b838f1SMarek Vasut	help
36b5b838f1SMarek Vasut	  Enable MMC framework tinification support. This option is useful if
37b5b838f1SMarek Vasut	  if your SPL is extremely size constrained. Heed the warning, enable
38b5b838f1SMarek Vasut	  this option if and only if you know exactly what you are doing, if
39b5b838f1SMarek Vasut	  you are reading this help text, you most likely have no idea :-)
40b5b838f1SMarek Vasut
41b5b838f1SMarek Vasut	  The MMC framework is reduced to bare minimum to be useful. No malloc
42b5b838f1SMarek Vasut	  support is needed for the MMC framework operation with this option
43b5b838f1SMarek Vasut	  enabled. The framework supports exactly one MMC device and exactly
44b5b838f1SMarek Vasut	  one MMC driver. The MMC driver can be adjusted to avoid any malloc
45b5b838f1SMarek Vasut	  operations too, which can remove the need for malloc support in SPL
46b5b838f1SMarek Vasut	  and thus further reduce footprint.
47b5b838f1SMarek Vasut
489d11d12aSMateusz Kulikowskiconfig MSM_SDHCI
499d11d12aSMateusz Kulikowski	bool "Qualcomm SDHCI controller"
504b00bdb7SSimon Glass	depends on DM_MMC && BLK && DM_MMC_OPS
519d11d12aSMateusz Kulikowski	help
529d11d12aSMateusz Kulikowski	  Enables support for SDHCI 2.0 controller present on some Qualcomm
539d11d12aSMateusz Kulikowski          Snapdragon devices. This device is compatible with eMMC v4.5 and
549d11d12aSMateusz Kulikowski          SD 3.0 specifications. Both SD and eMMC devices are supported.
559d11d12aSMateusz Kulikowski	  Card-detect gpios are not supported.
569d11d12aSMateusz Kulikowski
57a0d0d86fSWenyou Yangconfig ATMEL_SDHCI
58a0d0d86fSWenyou Yang	bool "Atmel SDHCI controller support"
59a0d0d86fSWenyou Yang	depends on DM_MMC && BLK && DM_MMC_OPS && ARCH_AT91
60a0d0d86fSWenyou Yang	help
61a0d0d86fSWenyou Yang	  This enables support for the Atmel SDHCI controller, which supports
62a0d0d86fSWenyou Yang	  the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
63a0d0d86fSWenyou Yang	  Memory Card Specification V3.0, and the SDIO V3.0 specification.
64a0d0d86fSWenyou Yang	  It is compliant with the SD Host Controller Standard V3.0
65a0d0d86fSWenyou Yang	  specification.
66a0d0d86fSWenyou Yang
67a8cb4fb5SSimon Glassconfig ROCKCHIP_DWMMC
68a8cb4fb5SSimon Glass	bool "Rockchip SD/MMC controller support"
69a8cb4fb5SSimon Glass	depends on DM_MMC && OF_CONTROL
70a8cb4fb5SSimon Glass	help
71a8cb4fb5SSimon Glass	  This enables support for the Rockchip SD/MMM controller, which is
72a8cb4fb5SSimon Glass	  based on Designware IP. The device is compatible with at least
73a8cb4fb5SSimon Glass	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
74a8cb4fb5SSimon Glass	  as removeable SD and micro-SD cards.
75a8cb4fb5SSimon Glass
7672d42badSNobuhiro Iwamatsuconfig SH_SDHI
7772d42badSNobuhiro Iwamatsu	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
7872d42badSNobuhiro Iwamatsu	depends on RMOBILE
7972d42badSNobuhiro Iwamatsu	help
8072d42badSNobuhiro Iwamatsu	  Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
8172d42badSNobuhiro Iwamatsu
82102142c9SAndrei Pistiricaconfig PIC32_SDHCI
83102142c9SAndrei Pistirica	bool "Microchip PIC32 on-chip SDHCI support"
84102142c9SAndrei Pistirica	depends on DM_MMC && MACH_PIC32
85102142c9SAndrei Pistirica	help
86102142c9SAndrei Pistirica	  Support for Microchip PIC32 SDHCI controller.
87102142c9SAndrei Pistirica
88ce0335f2SMichal Simekconfig ZYNQ_SDHCI
89ce0335f2SMichal Simek	bool "Arasan SDHCI controller support"
909c4132b5SMichal Simek	depends on DM_MMC && OF_CONTROL && BLK && DM_MMC_OPS
91ce0335f2SMichal Simek	help
92ce0335f2SMichal Simek	  Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
93ce0335f2SMichal Simek
9479c83065SKever Yangconfig ROCKCHIP_SDHCI
9579c83065SKever Yang	bool "Arasan SDHCI controller for Rockchip support"
9679c83065SKever Yang	depends on DM_MMC && BLK && DM_MMC_OPS
9779c83065SKever Yang	help
9879c83065SKever Yang	  Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
9979c83065SKever Yang
100a111bfbfSMasahiro Yamadaconfig MMC_UNIPHIER
101a111bfbfSMasahiro Yamada	bool "UniPhier SD/MMC Host Controller support"
102a111bfbfSMasahiro Yamada	depends on ARCH_UNIPHIER
10314f47234SMasahiro Yamada	depends on BLK
1043937404fSMasahiro Yamada	select DM_MMC_OPS
105a111bfbfSMasahiro Yamada	help
106a111bfbfSMasahiro Yamada	  This selects support for the SD/MMC Host Controller on UniPhier SoCs.
107a111bfbfSMasahiro Yamada
108f376a3cbSSimon Glassconfig SANDBOX_MMC
109f376a3cbSSimon Glass	bool "Sandbox MMC support"
110f376a3cbSSimon Glass	depends on MMC && SANDBOX
111f376a3cbSSimon Glass	help
112f376a3cbSSimon Glass	  This select a dummy sandbox MMC driver. At present this does nothing
113f376a3cbSSimon Glass	  other than allow sandbox to be build with MMC support. This
114f376a3cbSSimon Glass	  improves build coverage for sandbox and makes it easier to detect
115f376a3cbSSimon Glass	  MMC build errors with sandbox.
116f376a3cbSSimon Glass
11772d42badSNobuhiro Iwamatsuendmenu
118