xref: /openbmc/u-boot/drivers/mmc/Kconfig (revision 4119b709)
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
1354925327SMasahiro Yamadaconfig GENERIC_MMC
1454925327SMasahiro Yamada	bool "Generic MMC driver framework"
1554925327SMasahiro Yamada	default MMC
1654925327SMasahiro Yamada
17e7ecf7cbSSimon Glassconfig DM_MMC
18e7ecf7cbSSimon Glass	bool "Enable MMC controllers using Driver Model"
19e7ecf7cbSSimon Glass	depends on DM
20e7ecf7cbSSimon Glass	help
2162a3b7ddSRobert P. J. Day	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
22e7ecf7cbSSimon Glass	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
23e7ecf7cbSSimon Glass	  and non-removable (e.g. eMMC chip) devices are supported. These
24e7ecf7cbSSimon Glass	  appear as block devices in U-Boot and can support filesystems such
25e7ecf7cbSSimon Glass	  as EXT4 and FAT.
26e7ecf7cbSSimon Glass
278ca51e51SSimon Glassconfig DM_MMC_OPS
288ca51e51SSimon Glass	bool "Support MMC controller operations using Driver Model"
298ca51e51SSimon Glass	depends on DM_MMC
30252788b4SSimon Glass	default y if DM_MMC
318ca51e51SSimon Glass	help
328ca51e51SSimon Glass	  Driver model provides a means of supporting device operations. This
338ca51e51SSimon Glass	  option moves MMC operations under the control of driver model. The
348ca51e51SSimon Glass	  option will be removed as soon as all DM_MMC drivers use it, as it
358ca51e51SSimon Glass	  will the only supported behaviour.
368ca51e51SSimon Glass
37e298c46aSMasahiro Yamadaif MMC
38e298c46aSMasahiro Yamada
39b5b838f1SMarek Vasutconfig SPL_MMC_TINY
40b5b838f1SMarek Vasut	bool "Tiny MMC framework in SPL"
41b5b838f1SMarek Vasut	help
42b5b838f1SMarek Vasut	  Enable MMC framework tinification support. This option is useful if
43b5b838f1SMarek Vasut	  if your SPL is extremely size constrained. Heed the warning, enable
44b5b838f1SMarek Vasut	  this option if and only if you know exactly what you are doing, if
45b5b838f1SMarek Vasut	  you are reading this help text, you most likely have no idea :-)
46b5b838f1SMarek Vasut
47b5b838f1SMarek Vasut	  The MMC framework is reduced to bare minimum to be useful. No malloc
48b5b838f1SMarek Vasut	  support is needed for the MMC framework operation with this option
49b5b838f1SMarek Vasut	  enabled. The framework supports exactly one MMC device and exactly
50b5b838f1SMarek Vasut	  one MMC driver. The MMC driver can be adjusted to avoid any malloc
51b5b838f1SMarek Vasut	  operations too, which can remove the need for malloc support in SPL
52b5b838f1SMarek Vasut	  and thus further reduce footprint.
53b5b838f1SMarek Vasut
541d2c0506SMasahiro Yamadaconfig MMC_DAVINCI
551d2c0506SMasahiro Yamada	bool "TI DAVINCI Multimedia Card Interface support"
561d2c0506SMasahiro Yamada	depends on ARCH_DAVINCI
571d2c0506SMasahiro Yamada	default y
581d2c0506SMasahiro Yamada	help
591d2c0506SMasahiro Yamada	  This selects the TI DAVINCI Multimedia card Interface.
601d2c0506SMasahiro Yamada	  If you have an DAVINCI board with a Multimedia Card slot,
611d2c0506SMasahiro Yamada	  say Y here.  If unsure, say N.
621d2c0506SMasahiro Yamada
6355ed3b46SMasahiro Yamadaconfig MMC_DW
6455ed3b46SMasahiro Yamada	bool "Synopsys DesignWare Memory Card Interface"
6555ed3b46SMasahiro Yamada	help
6655ed3b46SMasahiro Yamada	  This selects support for the Synopsys DesignWare Mobile Storage IP
6755ed3b46SMasahiro Yamada	  block, this provides host support for SD and MMC interfaces, in both
6855ed3b46SMasahiro Yamada	  PIO, internal DMA mode and external DMA mode.
6955ed3b46SMasahiro Yamada
70ae4c81e9SMasahiro Yamadaconfig MMC_DW_EXYNOS
71ae4c81e9SMasahiro Yamada	bool "Exynos specific extensions for Synopsys DW Memory Card Interface"
72ae4c81e9SMasahiro Yamada	depends on ARCH_EXYNOS
73ae4c81e9SMasahiro Yamada	depends on MMC_DW
74ae4c81e9SMasahiro Yamada	default y
75ae4c81e9SMasahiro Yamada	help
76ae4c81e9SMasahiro Yamada	  This selects support for Samsung Exynos SoC specific extensions to the
77ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
78ae4c81e9SMasahiro Yamada	  for platforms based on Exynos4 and Exynos5 SoC's.
79ae4c81e9SMasahiro Yamada
80ae4c81e9SMasahiro Yamadaconfig MMC_DW_K3
81ae4c81e9SMasahiro Yamada	bool "K3 specific extensions for Synopsys DW Memory Card Interface"
82ae4c81e9SMasahiro Yamada	depends on MMC_DW
83ae4c81e9SMasahiro Yamada	help
84ae4c81e9SMasahiro Yamada	  This selects support for Hisilicon K3 SoC specific extensions to the
85ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
86ae4c81e9SMasahiro Yamada	  for platforms based on Hisilicon K3 SoC's.
87ae4c81e9SMasahiro Yamada
88fed44087SMasahiro Yamadaconfig MMC_DW_ROCKCHIP
89a8cb4fb5SSimon Glass	bool "Rockchip SD/MMC controller support"
90a8cb4fb5SSimon Glass	depends on DM_MMC && OF_CONTROL
9155ed3b46SMasahiro Yamada	depends on MMC_DW
92a8cb4fb5SSimon Glass	help
93a8cb4fb5SSimon Glass	  This enables support for the Rockchip SD/MMM controller, which is
94a8cb4fb5SSimon Glass	  based on Designware IP. The device is compatible with at least
95a8cb4fb5SSimon Glass	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
96a8cb4fb5SSimon Glass	  as removeable SD and micro-SD cards.
97a8cb4fb5SSimon Glass
98ae4c81e9SMasahiro Yamadaconfig MMC_DW_SOCFPGA
99ae4c81e9SMasahiro Yamada	bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
100ae4c81e9SMasahiro Yamada	depends on ARCH_SOCFPGA
101ae4c81e9SMasahiro Yamada	depends on MMC_DW
102ae4c81e9SMasahiro Yamada	default y
103ae4c81e9SMasahiro Yamada	help
104ae4c81e9SMasahiro Yamada	  This selects support for Altera SOCFPGA specific extensions to the
105ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
106ae4c81e9SMasahiro Yamada	  for platforms based on Altera SOCFPGA.
107ae4c81e9SMasahiro Yamada
1081d2c0506SMasahiro Yamadaconfig MMC_MXC
1091d2c0506SMasahiro Yamada	bool "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
1101d2c0506SMasahiro Yamada	help
1111d2c0506SMasahiro Yamada	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
1121d2c0506SMasahiro Yamada	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
1131d2c0506SMasahiro Yamada	  with a Multimedia Card slot, say Y here.
1141d2c0506SMasahiro Yamada
1151d2c0506SMasahiro Yamada	  If unsure, say N.
1161d2c0506SMasahiro Yamada
1171d2c0506SMasahiro Yamadaconfig MMC_MXS
1181d2c0506SMasahiro Yamada	bool "Freescale MXS Multimedia Card Interface support"
1191d2c0506SMasahiro Yamada	help
1201d2c0506SMasahiro Yamada	  This selects the Freescale SSP MMC controller found on MXS based
1211d2c0506SMasahiro Yamada	  platforms like mx23/28.
1221d2c0506SMasahiro Yamada
1231d2c0506SMasahiro Yamada	  If unsure, say N.
1241d2c0506SMasahiro Yamada
125b706b1c2SFelipe Balbiconfig MMC_PCI
126b706b1c2SFelipe Balbi	bool "Support for MMC controllers on PCI"
127b706b1c2SFelipe Balbi	help
128b706b1c2SFelipe Balbi	  This selects PCI-based MMC controllers.
129b706b1c2SFelipe Balbi	  If you have an MMC controller on a PCI bus, say Y here.
130b706b1c2SFelipe Balbi
131b706b1c2SFelipe Balbi	  If unsure, say N.
132b706b1c2SFelipe Balbi
1331d2c0506SMasahiro Yamadaconfig MMC_OMAP_HS
1341d2c0506SMasahiro Yamada	bool "TI OMAP High Speed Multimedia Card Interface support"
1351d2c0506SMasahiro Yamada	help
1361d2c0506SMasahiro Yamada	  This selects the TI OMAP High Speed Multimedia card Interface.
1371d2c0506SMasahiro Yamada	  If you have an omap2plus board with a Multimedia Card slot,
1381d2c0506SMasahiro Yamada	  say Y here.
1391d2c0506SMasahiro Yamada
1401d2c0506SMasahiro Yamada	  If unsure, say N.
1411d2c0506SMasahiro Yamada
1426aca17c9SAdam Fordconfig MMC_OMAP36XX_PINS
1436aca17c9SAdam Ford	bool "Enable MMC1 on OMAP36xx/37xx"
1446aca17c9SAdam Ford	depends on OMAP34XX && MMC_OMAP_HS
1456aca17c9SAdam Ford	help
1466aca17c9SAdam Ford	  This enables extended-drain in the MMC/SD/SDIO1I/O and
1476aca17c9SAdam Ford	  GPIO-associated I/O cells (gpio_126, gpio_127, and gpio_129)
1486aca17c9SAdam Ford	  specific to the OMAP36xx/37xx using MMC1
1496aca17c9SAdam Ford
1506aca17c9SAdam Ford	  If you have a controller with this interface, say Y here.
1516aca17c9SAdam Ford
1526aca17c9SAdam Ford	  If unsure, say N.
1536aca17c9SAdam Ford
15472d42badSNobuhiro Iwamatsuconfig SH_SDHI
15572d42badSNobuhiro Iwamatsu	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
15672d42badSNobuhiro Iwamatsu	depends on RMOBILE
15772d42badSNobuhiro Iwamatsu	help
15872d42badSNobuhiro Iwamatsu	  Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
15972d42badSNobuhiro Iwamatsu
160a111bfbfSMasahiro Yamadaconfig MMC_UNIPHIER
161a111bfbfSMasahiro Yamada	bool "UniPhier SD/MMC Host Controller support"
162a111bfbfSMasahiro Yamada	depends on ARCH_UNIPHIER
1639c720c81SMasahiro Yamada	depends on BLK && DM_MMC_OPS
1649c720c81SMasahiro Yamada	depends on OF_CONTROL
165a111bfbfSMasahiro Yamada	help
166a111bfbfSMasahiro Yamada	  This selects support for the SD/MMC Host Controller on UniPhier SoCs.
167a111bfbfSMasahiro Yamada
168a5995a5dSMasahiro Yamadaconfig MMC_SANDBOX
169f376a3cbSSimon Glass	bool "Sandbox MMC support"
170a5995a5dSMasahiro Yamada	depends on SANDBOX
171a5995a5dSMasahiro Yamada	depends on BLK && DM_MMC_OPS && OF_CONTROL
172f376a3cbSSimon Glass	help
173f376a3cbSSimon Glass	  This select a dummy sandbox MMC driver. At present this does nothing
174f376a3cbSSimon Glass	  other than allow sandbox to be build with MMC support. This
175f376a3cbSSimon Glass	  improves build coverage for sandbox and makes it easier to detect
176f376a3cbSSimon Glass	  MMC build errors with sandbox.
177f376a3cbSSimon Glass
178e1ce61fbSMasahiro Yamadaconfig MMC_SDHCI
179e1ce61fbSMasahiro Yamada	bool "Secure Digital Host Controller Interface support"
180e1ce61fbSMasahiro Yamada	help
181e1ce61fbSMasahiro Yamada	  This selects the generic Secure Digital Host Controller Interface.
182e1ce61fbSMasahiro Yamada	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
183e1ce61fbSMasahiro Yamada	  and Toshiba(R). Most controllers found in laptops are of this type.
184e1ce61fbSMasahiro Yamada
185e1ce61fbSMasahiro Yamada	  If you have a controller with this interface, say Y here.
186e1ce61fbSMasahiro Yamada
187e1ce61fbSMasahiro Yamada	  If unsure, say N.
188e1ce61fbSMasahiro Yamada
1893d3a74ccSMasahiro Yamadaconfig MMC_SDHCI_IO_ACCESSORS
1903d3a74ccSMasahiro Yamada	bool
1913d3a74ccSMasahiro Yamada	depends on MMC_SDHCI
1923d3a74ccSMasahiro Yamada	help
1933d3a74ccSMasahiro Yamada	  This is silent Kconfig symbol that is selected by the drivers that
1943d3a74ccSMasahiro Yamada	  need to overwrite SDHCI IO memory accessors.
1953d3a74ccSMasahiro Yamada
19645a68fe2SMasahiro Yamadaconfig MMC_SDHCI_SDMA
19745a68fe2SMasahiro Yamada	bool "Support SDHCI SDMA"
19845a68fe2SMasahiro Yamada	depends on MMC_SDHCI
19945a68fe2SMasahiro Yamada	help
20045a68fe2SMasahiro Yamada	  This enables support for the SDMA (Single Operation DMA) defined
20145a68fe2SMasahiro Yamada	  in the SD Host Controller Standard Specification Version 1.00 .
20245a68fe2SMasahiro Yamada
203dd3b64ebSMasahiro Yamadaconfig MMC_SDHCI_ATMEL
204dd3b64ebSMasahiro Yamada	bool "Atmel SDHCI controller support"
205dd3b64ebSMasahiro Yamada	depends on ARCH_AT91
206dd3b64ebSMasahiro Yamada	depends on DM_MMC && BLK && DM_MMC_OPS && ARCH_AT91
207dd3b64ebSMasahiro Yamada	depends on MMC_SDHCI
208dd3b64ebSMasahiro Yamada	help
209dd3b64ebSMasahiro Yamada	  This enables support for the Atmel SDHCI controller, which supports
210dd3b64ebSMasahiro Yamada	  the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
211dd3b64ebSMasahiro Yamada	  Memory Card Specification V3.0, and the SDIO V3.0 specification.
212dd3b64ebSMasahiro Yamada	  It is compliant with the SD Host Controller Standard V3.0
213dd3b64ebSMasahiro Yamada	  specification.
214dd3b64ebSMasahiro Yamada
21545a68fe2SMasahiro Yamadaconfig MMC_SDHCI_BCM2835
21645a68fe2SMasahiro Yamada	tristate "SDHCI support for the BCM2835 SD/MMC Controller"
21745a68fe2SMasahiro Yamada	depends on ARCH_BCM283X
21845a68fe2SMasahiro Yamada	depends on MMC_SDHCI
2193d3a74ccSMasahiro Yamada	select MMC_SDHCI_IO_ACCESSORS
22045a68fe2SMasahiro Yamada	help
22145a68fe2SMasahiro Yamada	  This selects the BCM2835 SD/MMC controller.
22245a68fe2SMasahiro Yamada
22345a68fe2SMasahiro Yamada	  If you have a BCM2835 platform with SD or MMC devices,
22445a68fe2SMasahiro Yamada	  say Y here.
22545a68fe2SMasahiro Yamada
22645a68fe2SMasahiro Yamada	  If unsure, say N.
22745a68fe2SMasahiro Yamada
228e5e7a7c2SMasahiro Yamadaconfig MMC_SDHCI_CADENCE
229e5e7a7c2SMasahiro Yamada	bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
230e5e7a7c2SMasahiro Yamada	depends on BLK && DM_MMC_OPS
231e5e7a7c2SMasahiro Yamada	depends on MMC_SDHCI
232e5e7a7c2SMasahiro Yamada	depends on OF_CONTROL
233e5e7a7c2SMasahiro Yamada	help
234e5e7a7c2SMasahiro Yamada	  This selects the Cadence SD/SDIO/eMMC driver.
235e5e7a7c2SMasahiro Yamada
236e5e7a7c2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
237e5e7a7c2SMasahiro Yamada
238e5e7a7c2SMasahiro Yamada	  If unsure, say N.
239e5e7a7c2SMasahiro Yamada
24045a68fe2SMasahiro Yamadaconfig MMC_SDHCI_KONA
24145a68fe2SMasahiro Yamada	bool "SDHCI support on Broadcom KONA platform"
24245a68fe2SMasahiro Yamada	depends on MMC_SDHCI
24345a68fe2SMasahiro Yamada	help
24445a68fe2SMasahiro Yamada	  This selects the Broadcom Kona Secure Digital Host Controller
24545a68fe2SMasahiro Yamada	  Interface(SDHCI) support.
24645a68fe2SMasahiro Yamada	  This is used in Broadcom mobile SoCs.
24745a68fe2SMasahiro Yamada
24845a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
24945a68fe2SMasahiro Yamada
250360c67d5SMasahiro Yamadaconfig MMC_SDHCI_MSM
251360c67d5SMasahiro Yamada	bool "Qualcomm SDHCI controller"
252360c67d5SMasahiro Yamada	depends on BLK && DM_MMC_OPS
253360c67d5SMasahiro Yamada	depends on MMC_SDHCI
254360c67d5SMasahiro Yamada	help
255360c67d5SMasahiro Yamada	  Enables support for SDHCI 2.0 controller present on some Qualcomm
256360c67d5SMasahiro Yamada          Snapdragon devices. This device is compatible with eMMC v4.5 and
257360c67d5SMasahiro Yamada          SD 3.0 specifications. Both SD and eMMC devices are supported.
258360c67d5SMasahiro Yamada	  Card-detect gpios are not supported.
259360c67d5SMasahiro Yamada
26045a68fe2SMasahiro Yamadaconfig MMC_SDHCI_MV
26145a68fe2SMasahiro Yamada	bool "SDHCI support on Marvell platform"
26245a68fe2SMasahiro Yamada	depends on ARCH_MVEBU
26345a68fe2SMasahiro Yamada	depends on MMC_SDHCI
26445a68fe2SMasahiro Yamada	help
26545a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface on
26645a68fe2SMasahiro Yamada	  Marvell platform.
26745a68fe2SMasahiro Yamada
26845a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
26945a68fe2SMasahiro Yamada
27045a68fe2SMasahiro Yamada	  If unsure, say N.
27145a68fe2SMasahiro Yamada
2721b858770SMasahiro Yamadaconfig MMC_SDHCI_PIC32
2731b858770SMasahiro Yamada	bool "Microchip PIC32 on-chip SDHCI support"
2741b858770SMasahiro Yamada	depends on DM_MMC && MACH_PIC32
2751b858770SMasahiro Yamada	depends on MMC_SDHCI
2761b858770SMasahiro Yamada	help
2771b858770SMasahiro Yamada	  Support for Microchip PIC32 SDHCI controller.
2781b858770SMasahiro Yamada
279facc8058SMasahiro Yamadaconfig MMC_SDHCI_ROCKCHIP
280facc8058SMasahiro Yamada	bool "Arasan SDHCI controller for Rockchip support"
281facc8058SMasahiro Yamada	depends on ARCH_ROCKCHIP
282facc8058SMasahiro Yamada	depends on DM_MMC && BLK && DM_MMC_OPS
283facc8058SMasahiro Yamada	depends on MMC_SDHCI
284facc8058SMasahiro Yamada	help
285facc8058SMasahiro Yamada	  Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
286facc8058SMasahiro Yamada
28745a68fe2SMasahiro Yamadaconfig MMC_SDHCI_S5P
28845a68fe2SMasahiro Yamada	bool "SDHCI support on Samsung S5P SoC"
28945a68fe2SMasahiro Yamada	depends on MMC_SDHCI
29045a68fe2SMasahiro Yamada	help
29145a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface (SDHCI)
29245a68fe2SMasahiro Yamada	  on Samsung S5P SoCs.
29345a68fe2SMasahiro Yamada
29445a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
29545a68fe2SMasahiro Yamada
29645a68fe2SMasahiro Yamada	  If unsure, say N.
29745a68fe2SMasahiro Yamada
29845a68fe2SMasahiro Yamadaconfig MMC_SDHCI_SPEAR
29945a68fe2SMasahiro Yamada	bool "SDHCI support on ST SPEAr platform"
30045a68fe2SMasahiro Yamada	depends on MMC_SDHCI
30145a68fe2SMasahiro Yamada	help
30245a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface (SDHCI)
30345a68fe2SMasahiro Yamada	  often referrered to as the HSMMC block in some of the ST SPEAR range
30445a68fe2SMasahiro Yamada	  of SoC
30545a68fe2SMasahiro Yamada
30645a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
30745a68fe2SMasahiro Yamada
30845a68fe2SMasahiro Yamada	  If unsure, say N.
30945a68fe2SMasahiro Yamada
310eee20f81SPatrice Chotardconfig MMC_SDHCI_STI
311eee20f81SPatrice Chotard	bool "SDHCI support for STMicroelectronics SoC"
31251cb23d4SPatrice Chotard	depends on MMC_SDHCI && OF_CONTROL
313eee20f81SPatrice Chotard	help
314eee20f81SPatrice Chotard	  This selects the Secure Digital Host Controller Interface (SDHCI)
315eee20f81SPatrice Chotard	  on STMicroelectronics STiH410 SoC.
316eee20f81SPatrice Chotard
317b6acb5f1SStefan Roeseconfig MMC_SDHCI_XENON
318b6acb5f1SStefan Roese	bool "SDHCI support for the Xenon SDHCI controller"
319b6acb5f1SStefan Roese	depends on MMC_SDHCI && DM_MMC && OF_CONTROL
320b6acb5f1SStefan Roese	help
321b6acb5f1SStefan Roese	  Support for Xenon SDHCI host controller on Marvell Armada 3700
322b6acb5f1SStefan Roese	  7k/8k ARM SoCs platforms
323b6acb5f1SStefan Roese
324b6acb5f1SStefan Roese	  If you have a controller with this interface, say Y here.
325b6acb5f1SStefan Roese
326b6acb5f1SStefan Roese	  If unsure, say N.
327b6acb5f1SStefan Roese
32883b3248eSFelipe Balbiconfig MMC_SDHCI_TANGIER
32983b3248eSFelipe Balbi	bool "Tangier SDHCI controller support"
33083b3248eSFelipe Balbi	depends on DM_MMC && BLK
33183b3248eSFelipe Balbi	depends on MMC_SDHCI
33283b3248eSFelipe Balbi	help
33383b3248eSFelipe Balbi	  This selects support for SDHCI controller on Tanginer
33483b3248eSFelipe Balbi	  SoC. Note that this controller does not sit on PCI bus and,
33583b3248eSFelipe Balbi	  hence, cannot be enumerated by standard PCI means.
33683b3248eSFelipe Balbi
33783b3248eSFelipe Balbi	  If you're using an Intel Tangier SoC (available on Intel
33883b3248eSFelipe Balbi	  Edison board), say Y here.
33983b3248eSFelipe Balbi
34083b3248eSFelipe Balbi	  If unsure, say N.
34183b3248eSFelipe Balbi
3421d2c0506SMasahiro Yamadaconfig MMC_SDHCI_TEGRA
3431d2c0506SMasahiro Yamada	bool "SDHCI platform support for the Tegra SD/MMC Controller"
3441d2c0506SMasahiro Yamada	depends on TEGRA
3451d2c0506SMasahiro Yamada	default y
3461d2c0506SMasahiro Yamada	help
3471d2c0506SMasahiro Yamada	  This selects the Tegra SD/MMC controller. If you have a Tegra
3481d2c0506SMasahiro Yamada	  platform with SD or MMC devices, say Y here.
3491d2c0506SMasahiro Yamada
3501d2c0506SMasahiro Yamada	  If unsure, say N.
3511d2c0506SMasahiro Yamada
35208aa0334SMasahiro Yamadaconfig MMC_SDHCI_ZYNQ
35308aa0334SMasahiro Yamada	bool "Arasan SDHCI controller support"
35408aa0334SMasahiro Yamada	depends on ARCH_ZYNQ || ARCH_ZYNQMP
35508aa0334SMasahiro Yamada	depends on DM_MMC && OF_CONTROL && BLK && DM_MMC_OPS
35608aa0334SMasahiro Yamada	depends on MMC_SDHCI
35708aa0334SMasahiro Yamada	help
35808aa0334SMasahiro Yamada	  Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
35908aa0334SMasahiro Yamada
3601d2c0506SMasahiro Yamadaconfig MMC_SUNXI
3611d2c0506SMasahiro Yamada	bool "Allwinner sunxi SD/MMC Host Controller support"
3620ad178c1SMasahiro Yamada	depends on ARCH_SUNXI && !UART0_PORT_F
3631d2c0506SMasahiro Yamada	default y
3641d2c0506SMasahiro Yamada	help
3651d2c0506SMasahiro Yamada	  This selects support for the SD/MMC Host Controller on
3661d2c0506SMasahiro Yamada	  Allwinner sunxi SoCs.
3671d2c0506SMasahiro Yamada
368e298c46aSMasahiro Yamadaendif
369e298c46aSMasahiro Yamada
370*4119b709SMarcel Ziswilerconfig TEGRA124_MMC_DISABLE_EXT_LOOPBACK
371*4119b709SMarcel Ziswiler	bool "Disable external clock loopback"
372*4119b709SMarcel Ziswiler	depends on MMC_SDHCI_TEGRA && TEGRA124
373*4119b709SMarcel Ziswiler	help
374*4119b709SMarcel Ziswiler	  Disable the external clock loopback and use the internal one on SDMMC3
375*4119b709SMarcel Ziswiler	  as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits
376*4119b709SMarcel Ziswiler	  being set to 0xfffd according to the TRM.
377*4119b709SMarcel Ziswiler
378*4119b709SMarcel Ziswiler	  TODO(marcel.ziswiler@toradex.com): Move to device tree controlled
379*4119b709SMarcel Ziswiler	  approach once proper kernel integration made it mainline.
380*4119b709SMarcel Ziswiler
38172d42badSNobuhiro Iwamatsuendmenu
382c01e4a1aSYork Sun
383c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC111
384c01e4a1aSYork Sun	bool
385c01e4a1aSYork Sun
386c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC13
387c01e4a1aSYork Sun	bool
388c01e4a1aSYork Sun
389c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC135
390c01e4a1aSYork Sun	bool
391c01e4a1aSYork Sun
392c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC_A001
393c01e4a1aSYork Sun	bool
394