xref: /openbmc/u-boot/drivers/mmc/Kconfig (revision 9f678ab1)
172d42badSNobuhiro Iwamatsumenu "MMC Host controller Support"
272d42badSNobuhiro Iwamatsu
37a777f6dSMaxime Ripardconfig MMC
4c2726995SMasahiro Yamada	bool "MMC/SD/SDIO card support"
5c2726995SMasahiro Yamada	default ARM || PPC || SANDBOX
67a777f6dSMaxime Ripard	help
7c2726995SMasahiro Yamada	  This selects MultiMediaCard, Secure Digital and Secure
8c2726995SMasahiro Yamada	  Digital I/O support.
9c2726995SMasahiro Yamada
10c2726995SMasahiro Yamada	  If you want MMC/SD/SDIO support, you should say Y here and
11c2726995SMasahiro 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
23c4d660d4SSimon Glassconfig SPL_DM_MMC
24c4d660d4SSimon Glass	bool "Enable MMC controllers using Driver Model in SPL"
25c4d660d4SSimon Glass	depends on SPL_DM && DM_MMC
26c4d660d4SSimon Glass	default y
27c4d660d4SSimon Glass	help
28c4d660d4SSimon Glass	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
29c4d660d4SSimon Glass	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
30c4d660d4SSimon Glass	  and non-removable (e.g. eMMC chip) devices are supported. These
31c4d660d4SSimon Glass	  appear as block devices in U-Boot and can support filesystems such
32c4d660d4SSimon Glass	  as EXT4 and FAT.
33c4d660d4SSimon Glass
34e298c46aSMasahiro Yamadaif MMC
35e298c46aSMasahiro Yamada
363c0dbed2SPatrice Chotardconfig ARM_PL180_MMCI
373c0dbed2SPatrice Chotard	bool "ARM AMBA Multimedia Card Interface and compatible support"
383c0dbed2SPatrice Chotard	depends on DM_MMC && OF_CONTROL
393c0dbed2SPatrice Chotard	help
403c0dbed2SPatrice Chotard	  This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
413c0dbed2SPatrice Chotard	  Interface (PL180, PL181 and compatible) support.
423c0dbed2SPatrice Chotard	  If you have an ARM(R) platform with a Multimedia Card slot,
433c0dbed2SPatrice Chotard	  say Y or M here.
443c0dbed2SPatrice Chotard
45b5b838f1SMarek Vasutconfig SPL_MMC_TINY
46b5b838f1SMarek Vasut	bool "Tiny MMC framework in SPL"
47b5b838f1SMarek Vasut	help
48b5b838f1SMarek Vasut	  Enable MMC framework tinification support. This option is useful if
49b5b838f1SMarek Vasut	  if your SPL is extremely size constrained. Heed the warning, enable
50b5b838f1SMarek Vasut	  this option if and only if you know exactly what you are doing, if
51b5b838f1SMarek Vasut	  you are reading this help text, you most likely have no idea :-)
52b5b838f1SMarek Vasut
53b5b838f1SMarek Vasut	  The MMC framework is reduced to bare minimum to be useful. No malloc
54b5b838f1SMarek Vasut	  support is needed for the MMC framework operation with this option
55b5b838f1SMarek Vasut	  enabled. The framework supports exactly one MMC device and exactly
56b5b838f1SMarek Vasut	  one MMC driver. The MMC driver can be adjusted to avoid any malloc
57b5b838f1SMarek Vasut	  operations too, which can remove the need for malloc support in SPL
58b5b838f1SMarek Vasut	  and thus further reduce footprint.
59b5b838f1SMarek Vasut
601d2c0506SMasahiro Yamadaconfig MMC_DAVINCI
611d2c0506SMasahiro Yamada	bool "TI DAVINCI Multimedia Card Interface support"
621d2c0506SMasahiro Yamada	depends on ARCH_DAVINCI
631d2c0506SMasahiro Yamada	default y
641d2c0506SMasahiro Yamada	help
651d2c0506SMasahiro Yamada	  This selects the TI DAVINCI Multimedia card Interface.
661d2c0506SMasahiro Yamada	  If you have an DAVINCI board with a Multimedia Card slot,
671d2c0506SMasahiro Yamada	  say Y here.  If unsure, say N.
681d2c0506SMasahiro Yamada
6955ed3b46SMasahiro Yamadaconfig MMC_DW
7055ed3b46SMasahiro Yamada	bool "Synopsys DesignWare Memory Card Interface"
7155ed3b46SMasahiro Yamada	help
7255ed3b46SMasahiro Yamada	  This selects support for the Synopsys DesignWare Mobile Storage IP
7355ed3b46SMasahiro Yamada	  block, this provides host support for SD and MMC interfaces, in both
7455ed3b46SMasahiro Yamada	  PIO, internal DMA mode and external DMA mode.
7555ed3b46SMasahiro Yamada
76ae4c81e9SMasahiro Yamadaconfig MMC_DW_EXYNOS
77ae4c81e9SMasahiro Yamada	bool "Exynos specific extensions for Synopsys DW Memory Card Interface"
78ae4c81e9SMasahiro Yamada	depends on ARCH_EXYNOS
79ae4c81e9SMasahiro Yamada	depends on MMC_DW
80ae4c81e9SMasahiro Yamada	default y
81ae4c81e9SMasahiro Yamada	help
82ae4c81e9SMasahiro Yamada	  This selects support for Samsung Exynos SoC specific extensions to the
83ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
84ae4c81e9SMasahiro Yamada	  for platforms based on Exynos4 and Exynos5 SoC's.
85ae4c81e9SMasahiro Yamada
86ae4c81e9SMasahiro Yamadaconfig MMC_DW_K3
87ae4c81e9SMasahiro Yamada	bool "K3 specific extensions for Synopsys DW Memory Card Interface"
88ae4c81e9SMasahiro Yamada	depends on MMC_DW
89ae4c81e9SMasahiro Yamada	help
90ae4c81e9SMasahiro Yamada	  This selects support for Hisilicon K3 SoC specific extensions to the
91ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
92ae4c81e9SMasahiro Yamada	  for platforms based on Hisilicon K3 SoC's.
93ae4c81e9SMasahiro Yamada
94fed44087SMasahiro Yamadaconfig MMC_DW_ROCKCHIP
95a8cb4fb5SSimon Glass	bool "Rockchip SD/MMC controller support"
96a8cb4fb5SSimon Glass	depends on DM_MMC && OF_CONTROL
9755ed3b46SMasahiro Yamada	depends on MMC_DW
98a8cb4fb5SSimon Glass	help
99a8cb4fb5SSimon Glass	  This enables support for the Rockchip SD/MMM controller, which is
100a8cb4fb5SSimon Glass	  based on Designware IP. The device is compatible with at least
101a8cb4fb5SSimon Glass	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
102a8cb4fb5SSimon Glass	  as removeable SD and micro-SD cards.
103a8cb4fb5SSimon Glass
104ae4c81e9SMasahiro Yamadaconfig MMC_DW_SOCFPGA
105ae4c81e9SMasahiro Yamada	bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
106ae4c81e9SMasahiro Yamada	depends on ARCH_SOCFPGA
107ae4c81e9SMasahiro Yamada	depends on MMC_DW
108ae4c81e9SMasahiro Yamada	default y
109ae4c81e9SMasahiro Yamada	help
110ae4c81e9SMasahiro Yamada	  This selects support for Altera SOCFPGA specific extensions to the
111ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
112ae4c81e9SMasahiro Yamada	  for platforms based on Altera SOCFPGA.
113ae4c81e9SMasahiro Yamada
11493738620SCarlo Caioneconfig MMC_MESON_GX
11593738620SCarlo Caione	bool "Meson GX EMMC controller support"
116e7881d85SSimon Glass	depends on DM_MMC && BLK && ARCH_MESON
11793738620SCarlo Caione	help
11893738620SCarlo Caione	 Support for EMMC host controller on Meson GX ARM SoCs platform (S905)
11993738620SCarlo Caione
1201d2c0506SMasahiro Yamadaconfig MMC_MXC
1211d2c0506SMasahiro Yamada	bool "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
1221d2c0506SMasahiro Yamada	help
1231d2c0506SMasahiro Yamada	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
1241d2c0506SMasahiro Yamada	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
1251d2c0506SMasahiro Yamada	  with a Multimedia Card slot, say Y here.
1261d2c0506SMasahiro Yamada
1271d2c0506SMasahiro Yamada	  If unsure, say N.
1281d2c0506SMasahiro Yamada
1291d2c0506SMasahiro Yamadaconfig MMC_MXS
1301d2c0506SMasahiro Yamada	bool "Freescale MXS Multimedia Card Interface support"
1311d2c0506SMasahiro Yamada	help
1321d2c0506SMasahiro Yamada	  This selects the Freescale SSP MMC controller found on MXS based
1331d2c0506SMasahiro Yamada	  platforms like mx23/28.
1341d2c0506SMasahiro Yamada
1351d2c0506SMasahiro Yamada	  If unsure, say N.
1361d2c0506SMasahiro Yamada
137b706b1c2SFelipe Balbiconfig MMC_PCI
138b706b1c2SFelipe Balbi	bool "Support for MMC controllers on PCI"
139b706b1c2SFelipe Balbi	help
140b706b1c2SFelipe Balbi	  This selects PCI-based MMC controllers.
141b706b1c2SFelipe Balbi	  If you have an MMC controller on a PCI bus, say Y here.
142b706b1c2SFelipe Balbi
143b706b1c2SFelipe Balbi	  If unsure, say N.
144b706b1c2SFelipe Balbi
1451d2c0506SMasahiro Yamadaconfig MMC_OMAP_HS
1461d2c0506SMasahiro Yamada	bool "TI OMAP High Speed Multimedia Card Interface support"
147e7881d85SSimon Glass	select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
1488ff7763dSJean-Jacques Hiblot	select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
1491d2c0506SMasahiro Yamada	help
1501d2c0506SMasahiro Yamada	  This selects the TI OMAP High Speed Multimedia card Interface.
1511d2c0506SMasahiro Yamada	  If you have an omap2plus board with a Multimedia Card slot,
1521d2c0506SMasahiro Yamada	  say Y here.
1531d2c0506SMasahiro Yamada
1541d2c0506SMasahiro Yamada	  If unsure, say N.
1551d2c0506SMasahiro Yamada
1566aca17c9SAdam Fordconfig MMC_OMAP36XX_PINS
1576aca17c9SAdam Ford	bool "Enable MMC1 on OMAP36xx/37xx"
1586aca17c9SAdam Ford	depends on OMAP34XX && MMC_OMAP_HS
1596aca17c9SAdam Ford	help
1606aca17c9SAdam Ford	  This enables extended-drain in the MMC/SD/SDIO1I/O and
1616aca17c9SAdam Ford	  GPIO-associated I/O cells (gpio_126, gpio_127, and gpio_129)
1626aca17c9SAdam Ford	  specific to the OMAP36xx/37xx using MMC1
1636aca17c9SAdam Ford
1646aca17c9SAdam Ford	  If you have a controller with this interface, say Y here.
1656aca17c9SAdam Ford
1666aca17c9SAdam Ford	  If unsure, say N.
1676aca17c9SAdam Ford
16872d42badSNobuhiro Iwamatsuconfig SH_SDHI
16972d42badSNobuhiro Iwamatsu	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
1700f531185SMarek Vasut	depends on ARCH_RMOBILE
17172d42badSNobuhiro Iwamatsu	help
17272d42badSNobuhiro Iwamatsu	  Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
17372d42badSNobuhiro Iwamatsu
174a111bfbfSMasahiro Yamadaconfig MMC_UNIPHIER
175b24633dfSMarek Vasut	bool "UniPhier/RCar SD/MMC Host Controller support"
176b24633dfSMarek Vasut	depends on ARCH_UNIPHIER || ARCH_RMOBILE
177e7881d85SSimon Glass	depends on BLK && DM_MMC
1789c720c81SMasahiro Yamada	depends on OF_CONTROL
179a111bfbfSMasahiro Yamada	help
180b24633dfSMarek Vasut	  This selects support for the Matsushita SD/MMC Host Controller on
181b24633dfSMarek Vasut	  SocioNext UniPhier and Renesas RCar SoCs.
182a111bfbfSMasahiro Yamada
183a5995a5dSMasahiro Yamadaconfig MMC_SANDBOX
184f376a3cbSSimon Glass	bool "Sandbox MMC support"
185a5995a5dSMasahiro Yamada	depends on SANDBOX
186e7881d85SSimon Glass	depends on BLK && DM_MMC && OF_CONTROL
187f376a3cbSSimon Glass	help
188f376a3cbSSimon Glass	  This select a dummy sandbox MMC driver. At present this does nothing
189f376a3cbSSimon Glass	  other than allow sandbox to be build with MMC support. This
190f376a3cbSSimon Glass	  improves build coverage for sandbox and makes it easier to detect
191f376a3cbSSimon Glass	  MMC build errors with sandbox.
192f376a3cbSSimon Glass
193e1ce61fbSMasahiro Yamadaconfig MMC_SDHCI
194e1ce61fbSMasahiro Yamada	bool "Secure Digital Host Controller Interface support"
195e1ce61fbSMasahiro Yamada	help
196e1ce61fbSMasahiro Yamada	  This selects the generic Secure Digital Host Controller Interface.
197e1ce61fbSMasahiro Yamada	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
198e1ce61fbSMasahiro Yamada	  and Toshiba(R). Most controllers found in laptops are of this type.
199e1ce61fbSMasahiro Yamada
200e1ce61fbSMasahiro Yamada	  If you have a controller with this interface, say Y here.
201e1ce61fbSMasahiro Yamada
202e1ce61fbSMasahiro Yamada	  If unsure, say N.
203e1ce61fbSMasahiro Yamada
2043d3a74ccSMasahiro Yamadaconfig MMC_SDHCI_IO_ACCESSORS
2053d3a74ccSMasahiro Yamada	bool
2063d3a74ccSMasahiro Yamada	depends on MMC_SDHCI
2073d3a74ccSMasahiro Yamada	help
2083d3a74ccSMasahiro Yamada	  This is silent Kconfig symbol that is selected by the drivers that
2093d3a74ccSMasahiro Yamada	  need to overwrite SDHCI IO memory accessors.
2103d3a74ccSMasahiro Yamada
21145a68fe2SMasahiro Yamadaconfig MMC_SDHCI_SDMA
21245a68fe2SMasahiro Yamada	bool "Support SDHCI SDMA"
21345a68fe2SMasahiro Yamada	depends on MMC_SDHCI
21445a68fe2SMasahiro Yamada	help
21545a68fe2SMasahiro Yamada	  This enables support for the SDMA (Single Operation DMA) defined
21645a68fe2SMasahiro Yamada	  in the SD Host Controller Standard Specification Version 1.00 .
21745a68fe2SMasahiro Yamada
218dd3b64ebSMasahiro Yamadaconfig MMC_SDHCI_ATMEL
219dd3b64ebSMasahiro Yamada	bool "Atmel SDHCI controller support"
220dd3b64ebSMasahiro Yamada	depends on ARCH_AT91
221e7881d85SSimon Glass	depends on DM_MMC && BLK && ARCH_AT91
222dd3b64ebSMasahiro Yamada	depends on MMC_SDHCI
223dd3b64ebSMasahiro Yamada	help
224dd3b64ebSMasahiro Yamada	  This enables support for the Atmel SDHCI controller, which supports
225dd3b64ebSMasahiro Yamada	  the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
226dd3b64ebSMasahiro Yamada	  Memory Card Specification V3.0, and the SDIO V3.0 specification.
227dd3b64ebSMasahiro Yamada	  It is compliant with the SD Host Controller Standard V3.0
228dd3b64ebSMasahiro Yamada	  specification.
229dd3b64ebSMasahiro Yamada
23045a68fe2SMasahiro Yamadaconfig MMC_SDHCI_BCM2835
23145a68fe2SMasahiro Yamada	tristate "SDHCI support for the BCM2835 SD/MMC Controller"
23245a68fe2SMasahiro Yamada	depends on ARCH_BCM283X
23345a68fe2SMasahiro Yamada	depends on MMC_SDHCI
2343d3a74ccSMasahiro Yamada	select MMC_SDHCI_IO_ACCESSORS
23545a68fe2SMasahiro Yamada	help
23645a68fe2SMasahiro Yamada	  This selects the BCM2835 SD/MMC controller.
23745a68fe2SMasahiro Yamada
23845a68fe2SMasahiro Yamada	  If you have a BCM2835 platform with SD or MMC devices,
23945a68fe2SMasahiro Yamada	  say Y here.
24045a68fe2SMasahiro Yamada
24145a68fe2SMasahiro Yamada	  If unsure, say N.
24245a68fe2SMasahiro Yamada
243e5e7a7c2SMasahiro Yamadaconfig MMC_SDHCI_CADENCE
244e5e7a7c2SMasahiro Yamada	bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
245e7881d85SSimon Glass	depends on BLK && DM_MMC
246e5e7a7c2SMasahiro Yamada	depends on MMC_SDHCI
247e5e7a7c2SMasahiro Yamada	depends on OF_CONTROL
248e5e7a7c2SMasahiro Yamada	help
249e5e7a7c2SMasahiro Yamada	  This selects the Cadence SD/SDIO/eMMC driver.
250e5e7a7c2SMasahiro Yamada
251e5e7a7c2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
252e5e7a7c2SMasahiro Yamada
253e5e7a7c2SMasahiro Yamada	  If unsure, say N.
254e5e7a7c2SMasahiro Yamada
25545a68fe2SMasahiro Yamadaconfig MMC_SDHCI_KONA
25645a68fe2SMasahiro Yamada	bool "SDHCI support on Broadcom KONA platform"
25745a68fe2SMasahiro Yamada	depends on MMC_SDHCI
25845a68fe2SMasahiro Yamada	help
25945a68fe2SMasahiro Yamada	  This selects the Broadcom Kona Secure Digital Host Controller
26045a68fe2SMasahiro Yamada	  Interface(SDHCI) support.
26145a68fe2SMasahiro Yamada	  This is used in Broadcom mobile SoCs.
26245a68fe2SMasahiro Yamada
26345a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
26445a68fe2SMasahiro Yamada
265360c67d5SMasahiro Yamadaconfig MMC_SDHCI_MSM
266360c67d5SMasahiro Yamada	bool "Qualcomm SDHCI controller"
267e7881d85SSimon Glass	depends on BLK && DM_MMC
268360c67d5SMasahiro Yamada	depends on MMC_SDHCI
269360c67d5SMasahiro Yamada	help
270360c67d5SMasahiro Yamada	  Enables support for SDHCI 2.0 controller present on some Qualcomm
271360c67d5SMasahiro Yamada          Snapdragon devices. This device is compatible with eMMC v4.5 and
272360c67d5SMasahiro Yamada          SD 3.0 specifications. Both SD and eMMC devices are supported.
273360c67d5SMasahiro Yamada	  Card-detect gpios are not supported.
274360c67d5SMasahiro Yamada
27545a68fe2SMasahiro Yamadaconfig MMC_SDHCI_MV
27645a68fe2SMasahiro Yamada	bool "SDHCI support on Marvell platform"
27745a68fe2SMasahiro Yamada	depends on ARCH_MVEBU
27845a68fe2SMasahiro Yamada	depends on MMC_SDHCI
27945a68fe2SMasahiro Yamada	help
28045a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface on
28145a68fe2SMasahiro Yamada	  Marvell platform.
28245a68fe2SMasahiro Yamada
28345a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
28445a68fe2SMasahiro Yamada
28545a68fe2SMasahiro Yamada	  If unsure, say N.
28645a68fe2SMasahiro Yamada
2871b858770SMasahiro Yamadaconfig MMC_SDHCI_PIC32
2881b858770SMasahiro Yamada	bool "Microchip PIC32 on-chip SDHCI support"
2891b858770SMasahiro Yamada	depends on DM_MMC && MACH_PIC32
2901b858770SMasahiro Yamada	depends on MMC_SDHCI
2911b858770SMasahiro Yamada	help
2921b858770SMasahiro Yamada	  Support for Microchip PIC32 SDHCI controller.
2931b858770SMasahiro Yamada
294facc8058SMasahiro Yamadaconfig MMC_SDHCI_ROCKCHIP
295facc8058SMasahiro Yamada	bool "Arasan SDHCI controller for Rockchip support"
296facc8058SMasahiro Yamada	depends on ARCH_ROCKCHIP
297e7881d85SSimon Glass	depends on DM_MMC && BLK
298facc8058SMasahiro Yamada	depends on MMC_SDHCI
299facc8058SMasahiro Yamada	help
300facc8058SMasahiro Yamada	  Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
301facc8058SMasahiro Yamada
30245a68fe2SMasahiro Yamadaconfig MMC_SDHCI_S5P
30345a68fe2SMasahiro Yamada	bool "SDHCI support on Samsung S5P SoC"
30445a68fe2SMasahiro Yamada	depends on MMC_SDHCI
30545a68fe2SMasahiro Yamada	help
30645a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface (SDHCI)
30745a68fe2SMasahiro Yamada	  on Samsung S5P SoCs.
30845a68fe2SMasahiro Yamada
30945a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
31045a68fe2SMasahiro Yamada
31145a68fe2SMasahiro Yamada	  If unsure, say N.
31245a68fe2SMasahiro Yamada
31345a68fe2SMasahiro Yamadaconfig MMC_SDHCI_SPEAR
31445a68fe2SMasahiro Yamada	bool "SDHCI support on ST SPEAr platform"
31545a68fe2SMasahiro Yamada	depends on MMC_SDHCI
31645a68fe2SMasahiro Yamada	help
31745a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface (SDHCI)
31845a68fe2SMasahiro Yamada	  often referrered to as the HSMMC block in some of the ST SPEAR range
31945a68fe2SMasahiro Yamada	  of SoC
32045a68fe2SMasahiro Yamada
32145a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
32245a68fe2SMasahiro Yamada
32345a68fe2SMasahiro Yamada	  If unsure, say N.
32445a68fe2SMasahiro Yamada
325eee20f81SPatrice Chotardconfig MMC_SDHCI_STI
326eee20f81SPatrice Chotard	bool "SDHCI support for STMicroelectronics SoC"
32751cb23d4SPatrice Chotard	depends on MMC_SDHCI && OF_CONTROL
328eee20f81SPatrice Chotard	help
329eee20f81SPatrice Chotard	  This selects the Secure Digital Host Controller Interface (SDHCI)
330eee20f81SPatrice Chotard	  on STMicroelectronics STiH410 SoC.
331eee20f81SPatrice Chotard
332b6acb5f1SStefan Roeseconfig MMC_SDHCI_XENON
333b6acb5f1SStefan Roese	bool "SDHCI support for the Xenon SDHCI controller"
334b6acb5f1SStefan Roese	depends on MMC_SDHCI && DM_MMC && OF_CONTROL
335b6acb5f1SStefan Roese	help
336b6acb5f1SStefan Roese	  Support for Xenon SDHCI host controller on Marvell Armada 3700
337b6acb5f1SStefan Roese	  7k/8k ARM SoCs platforms
338b6acb5f1SStefan Roese
339b6acb5f1SStefan Roese	  If you have a controller with this interface, say Y here.
340b6acb5f1SStefan Roese
341b6acb5f1SStefan Roese	  If unsure, say N.
342b6acb5f1SStefan Roese
34383b3248eSFelipe Balbiconfig MMC_SDHCI_TANGIER
34483b3248eSFelipe Balbi	bool "Tangier SDHCI controller support"
34583b3248eSFelipe Balbi	depends on DM_MMC && BLK
34683b3248eSFelipe Balbi	depends on MMC_SDHCI
34783b3248eSFelipe Balbi	help
34883b3248eSFelipe Balbi	  This selects support for SDHCI controller on Tanginer
34983b3248eSFelipe Balbi	  SoC. Note that this controller does not sit on PCI bus and,
35083b3248eSFelipe Balbi	  hence, cannot be enumerated by standard PCI means.
35183b3248eSFelipe Balbi
35283b3248eSFelipe Balbi	  If you're using an Intel Tangier SoC (available on Intel
35383b3248eSFelipe Balbi	  Edison board), say Y here.
35483b3248eSFelipe Balbi
35583b3248eSFelipe Balbi	  If unsure, say N.
35683b3248eSFelipe Balbi
3571d2c0506SMasahiro Yamadaconfig MMC_SDHCI_TEGRA
3581d2c0506SMasahiro Yamada	bool "SDHCI platform support for the Tegra SD/MMC Controller"
3591d2c0506SMasahiro Yamada	depends on TEGRA
3601d2c0506SMasahiro Yamada	default y
3611d2c0506SMasahiro Yamada	help
3621d2c0506SMasahiro Yamada	  This selects the Tegra SD/MMC controller. If you have a Tegra
3631d2c0506SMasahiro Yamada	  platform with SD or MMC devices, say Y here.
3641d2c0506SMasahiro Yamada
3651d2c0506SMasahiro Yamada	  If unsure, say N.
3661d2c0506SMasahiro Yamada
36708aa0334SMasahiro Yamadaconfig MMC_SDHCI_ZYNQ
36808aa0334SMasahiro Yamada	bool "Arasan SDHCI controller support"
36908aa0334SMasahiro Yamada	depends on ARCH_ZYNQ || ARCH_ZYNQMP
370e7881d85SSimon Glass	depends on DM_MMC && OF_CONTROL && BLK
37108aa0334SMasahiro Yamada	depends on MMC_SDHCI
37208aa0334SMasahiro Yamada	help
37308aa0334SMasahiro Yamada	  Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
37408aa0334SMasahiro Yamada
3751d2c0506SMasahiro Yamadaconfig MMC_SUNXI
3761d2c0506SMasahiro Yamada	bool "Allwinner sunxi SD/MMC Host Controller support"
3770ad178c1SMasahiro Yamada	depends on ARCH_SUNXI && !UART0_PORT_F
3781d2c0506SMasahiro Yamada	default y
3791d2c0506SMasahiro Yamada	help
3801d2c0506SMasahiro Yamada	  This selects support for the SD/MMC Host Controller on
3811d2c0506SMasahiro Yamada	  Allwinner sunxi SoCs.
3821d2c0506SMasahiro Yamada
383de9b1771SMaxime Ripardconfig MMC_SUNXI_HAS_NEW_MODE
384de9b1771SMaxime Ripard	bool
385de9b1771SMaxime Ripard	depends on MMC_SUNXI
386de9b1771SMaxime Ripard
387c86c0155SWenyou Yangconfig GENERIC_ATMEL_MCI
388c86c0155SWenyou Yang	bool "Atmel Multimedia Card Interface support"
389e7881d85SSimon Glass	depends on DM_MMC && BLK && ARCH_AT91
390c86c0155SWenyou Yang	help
391c86c0155SWenyou Yang	  This enables support for Atmel High Speed Multimedia Card Interface
392c86c0155SWenyou Yang	  (HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3,
393c86c0155SWenyou Yang	  the SD Memory Card Specification V2.0, the SDIO V2.0 specification
394c86c0155SWenyou Yang	  and CE-ATA V1.1.
395c86c0155SWenyou Yang
396b312c590SPatrice Chotardconfig STM32_SDMMC2
397b312c590SPatrice Chotard	bool "STMicroelectronics STM32H7 SD/MMC Host Controller support"
39853c656a8SPatrice Chotard	depends on DM_MMC && BLK && OF_CONTROL
399b312c590SPatrice Chotard	help
400b312c590SPatrice Chotard	  This selects support for the SD/MMC controller on STM32H7 SoCs.
401b312c590SPatrice Chotard	  If you have a board based on such a SoC and with a SD/MMC slot,
402b312c590SPatrice Chotard	  say Y or M here.
403b312c590SPatrice Chotard
404*9f678ab1SRick Chenconfig MMC_NDS32
405*9f678ab1SRick Chen	bool "Andestech SD/MMC controller support"
406*9f678ab1SRick Chen	depends on DM_MMC && OF_CONTROL && BLK && FTSDC010
407*9f678ab1SRick Chen	help
408*9f678ab1SRick Chen	  This enables support for the Andestech SD/MMM controller, which is
409*9f678ab1SRick Chen	  based on Faraday IP.
410*9f678ab1SRick Chen
411*9f678ab1SRick Chenconfig FTSDC010
412*9f678ab1SRick Chen	bool "Ftsdc010 SD/MMC controller Support"
413*9f678ab1SRick Chen	help
414*9f678ab1SRick Chen	  This SD/MMC controller is present in Andestech SoCs which is based on Faraday IP.
415*9f678ab1SRick Chen
416e298c46aSMasahiro Yamadaendif
417e298c46aSMasahiro Yamada
4184119b709SMarcel Ziswilerconfig TEGRA124_MMC_DISABLE_EXT_LOOPBACK
4194119b709SMarcel Ziswiler	bool "Disable external clock loopback"
4204119b709SMarcel Ziswiler	depends on MMC_SDHCI_TEGRA && TEGRA124
4214119b709SMarcel Ziswiler	help
4224119b709SMarcel Ziswiler	  Disable the external clock loopback and use the internal one on SDMMC3
4234119b709SMarcel Ziswiler	  as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits
4244119b709SMarcel Ziswiler	  being set to 0xfffd according to the TRM.
4254119b709SMarcel Ziswiler
4264119b709SMarcel Ziswiler	  TODO(marcel.ziswiler@toradex.com): Move to device tree controlled
4274119b709SMarcel Ziswiler	  approach once proper kernel integration made it mainline.
4284119b709SMarcel Ziswiler
42972d42badSNobuhiro Iwamatsuendmenu
430c01e4a1aSYork Sun
431c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC111
432c01e4a1aSYork Sun	bool
433c01e4a1aSYork Sun
434c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC13
435c01e4a1aSYork Sun	bool
436c01e4a1aSYork Sun
437c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC135
438c01e4a1aSYork Sun	bool
439c01e4a1aSYork Sun
440c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC_A001
441c01e4a1aSYork Sun	bool
442