xref: /openbmc/u-boot/drivers/mmc/Kconfig (revision b5b838f1)
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
1362a3b7ddSRobert 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
22252788b4SSimon Glass	default y if DM_MMC
238ca51e51SSimon Glass	help
248ca51e51SSimon Glass	  Driver model provides a means of supporting device operations. This
258ca51e51SSimon Glass	  option moves MMC operations under the control of driver model. The
268ca51e51SSimon Glass	  option will be removed as soon as all DM_MMC drivers use it, as it
278ca51e51SSimon Glass	  will the only supported behaviour.
288ca51e51SSimon Glass
29*b5b838f1SMarek Vasutconfig SPL_MMC_TINY
30*b5b838f1SMarek Vasut	bool "Tiny MMC framework in SPL"
31*b5b838f1SMarek Vasut	help
32*b5b838f1SMarek Vasut	  Enable MMC framework tinification support. This option is useful if
33*b5b838f1SMarek Vasut	  if your SPL is extremely size constrained. Heed the warning, enable
34*b5b838f1SMarek Vasut	  this option if and only if you know exactly what you are doing, if
35*b5b838f1SMarek Vasut	  you are reading this help text, you most likely have no idea :-)
36*b5b838f1SMarek Vasut
37*b5b838f1SMarek Vasut	  The MMC framework is reduced to bare minimum to be useful. No malloc
38*b5b838f1SMarek Vasut	  support is needed for the MMC framework operation with this option
39*b5b838f1SMarek Vasut	  enabled. The framework supports exactly one MMC device and exactly
40*b5b838f1SMarek Vasut	  one MMC driver. The MMC driver can be adjusted to avoid any malloc
41*b5b838f1SMarek Vasut	  operations too, which can remove the need for malloc support in SPL
42*b5b838f1SMarek Vasut	  and thus further reduce footprint.
43*b5b838f1SMarek Vasut
449d11d12aSMateusz Kulikowskiconfig MSM_SDHCI
459d11d12aSMateusz Kulikowski	bool "Qualcomm SDHCI controller"
464b00bdb7SSimon Glass	depends on DM_MMC && BLK && DM_MMC_OPS
479d11d12aSMateusz Kulikowski	help
489d11d12aSMateusz Kulikowski	  Enables support for SDHCI 2.0 controller present on some Qualcomm
499d11d12aSMateusz Kulikowski          Snapdragon devices. This device is compatible with eMMC v4.5 and
509d11d12aSMateusz Kulikowski          SD 3.0 specifications. Both SD and eMMC devices are supported.
519d11d12aSMateusz Kulikowski	  Card-detect gpios are not supported.
529d11d12aSMateusz Kulikowski
53a0d0d86fSWenyou Yangconfig ATMEL_SDHCI
54a0d0d86fSWenyou Yang	bool "Atmel SDHCI controller support"
55a0d0d86fSWenyou Yang	depends on DM_MMC && BLK && DM_MMC_OPS && ARCH_AT91
56a0d0d86fSWenyou Yang	help
57a0d0d86fSWenyou Yang	  This enables support for the Atmel SDHCI controller, which supports
58a0d0d86fSWenyou Yang	  the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
59a0d0d86fSWenyou Yang	  Memory Card Specification V3.0, and the SDIO V3.0 specification.
60a0d0d86fSWenyou Yang	  It is compliant with the SD Host Controller Standard V3.0
61a0d0d86fSWenyou Yang	  specification.
62a0d0d86fSWenyou Yang
63a8cb4fb5SSimon Glassconfig ROCKCHIP_DWMMC
64a8cb4fb5SSimon Glass	bool "Rockchip SD/MMC controller support"
65a8cb4fb5SSimon Glass	depends on DM_MMC && OF_CONTROL
66a8cb4fb5SSimon Glass	help
67a8cb4fb5SSimon Glass	  This enables support for the Rockchip SD/MMM controller, which is
68a8cb4fb5SSimon Glass	  based on Designware IP. The device is compatible with at least
69a8cb4fb5SSimon Glass	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
70a8cb4fb5SSimon Glass	  as removeable SD and micro-SD cards.
71a8cb4fb5SSimon Glass
7272d42badSNobuhiro Iwamatsuconfig SH_SDHI
7372d42badSNobuhiro Iwamatsu	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
7472d42badSNobuhiro Iwamatsu	depends on RMOBILE
7572d42badSNobuhiro Iwamatsu	help
7672d42badSNobuhiro Iwamatsu	  Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
7772d42badSNobuhiro Iwamatsu
78102142c9SAndrei Pistiricaconfig PIC32_SDHCI
79102142c9SAndrei Pistirica	bool "Microchip PIC32 on-chip SDHCI support"
80102142c9SAndrei Pistirica	depends on DM_MMC && MACH_PIC32
81102142c9SAndrei Pistirica	help
82102142c9SAndrei Pistirica	  Support for Microchip PIC32 SDHCI controller.
83102142c9SAndrei Pistirica
84ce0335f2SMichal Simekconfig ZYNQ_SDHCI
85ce0335f2SMichal Simek	bool "Arasan SDHCI controller support"
86ce0335f2SMichal Simek	depends on DM_MMC && OF_CONTROL
87ce0335f2SMichal Simek	help
88ce0335f2SMichal Simek	  Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
89ce0335f2SMichal Simek
9079c83065SKever Yangconfig ROCKCHIP_SDHCI
9179c83065SKever Yang	bool "Arasan SDHCI controller for Rockchip support"
9279c83065SKever Yang	depends on DM_MMC && BLK && DM_MMC_OPS
9379c83065SKever Yang	help
9479c83065SKever Yang	  Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
9579c83065SKever Yang
96a111bfbfSMasahiro Yamadaconfig MMC_UNIPHIER
97a111bfbfSMasahiro Yamada	bool "UniPhier SD/MMC Host Controller support"
98a111bfbfSMasahiro Yamada	depends on ARCH_UNIPHIER
9914f47234SMasahiro Yamada	depends on BLK
1003937404fSMasahiro Yamada	select DM_MMC_OPS
101a111bfbfSMasahiro Yamada	help
102a111bfbfSMasahiro Yamada	  This selects support for the SD/MMC Host Controller on UniPhier SoCs.
103a111bfbfSMasahiro Yamada
104f376a3cbSSimon Glassconfig SANDBOX_MMC
105f376a3cbSSimon Glass	bool "Sandbox MMC support"
106f376a3cbSSimon Glass	depends on MMC && SANDBOX
107f376a3cbSSimon Glass	help
108f376a3cbSSimon Glass	  This select a dummy sandbox MMC driver. At present this does nothing
109f376a3cbSSimon Glass	  other than allow sandbox to be build with MMC support. This
110f376a3cbSSimon Glass	  improves build coverage for sandbox and makes it easier to detect
111f376a3cbSSimon Glass	  MMC build errors with sandbox.
112f376a3cbSSimon Glass
11372d42badSNobuhiro Iwamatsuendmenu
114