xref: /rk3399_rockchip-uboot/drivers/mmc/Kconfig (revision f36ea2f6e17621c4d9dd97c4dbfab62d03d061df)
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
139127fbf4SJean-Jacques Hiblotconfig MMC_WRITE
149127fbf4SJean-Jacques Hiblot	bool "support for MMC/SD write operations"
159127fbf4SJean-Jacques Hiblot	depends on MMC
169127fbf4SJean-Jacques Hiblot	default y
179127fbf4SJean-Jacques Hiblot	help
189127fbf4SJean-Jacques Hiblot	  Enable write access to MMC and SD Cards
199127fbf4SJean-Jacques Hiblot
20e7ecf7cbSSimon Glassconfig DM_MMC
21e7ecf7cbSSimon Glass	bool "Enable MMC controllers using Driver Model"
22e7ecf7cbSSimon Glass	depends on DM
23e7ecf7cbSSimon Glass	help
2462a3b7ddSRobert P. J. Day	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
25e7ecf7cbSSimon Glass	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
26e7ecf7cbSSimon Glass	  and non-removable (e.g. eMMC chip) devices are supported. These
27e7ecf7cbSSimon Glass	  appear as block devices in U-Boot and can support filesystems such
28e7ecf7cbSSimon Glass	  as EXT4 and FAT.
29e7ecf7cbSSimon Glass
30c4d660d4SSimon Glassconfig SPL_DM_MMC
31c4d660d4SSimon Glass	bool "Enable MMC controllers using Driver Model in SPL"
32c4d660d4SSimon Glass	depends on SPL_DM && DM_MMC
33c4d660d4SSimon Glass	default y
34c4d660d4SSimon Glass	help
35c4d660d4SSimon Glass	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
36c4d660d4SSimon Glass	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
37c4d660d4SSimon Glass	  and non-removable (e.g. eMMC chip) devices are supported. These
38c4d660d4SSimon Glass	  appear as block devices in U-Boot and can support filesystems such
39c4d660d4SSimon Glass	  as EXT4 and FAT.
40c4d660d4SSimon Glass
41e298c46aSMasahiro Yamadaif MMC
42e298c46aSMasahiro Yamada
43b5b838f1SMarek Vasutconfig SPL_MMC_TINY
44b5b838f1SMarek Vasut	bool "Tiny MMC framework in SPL"
45b5b838f1SMarek Vasut	help
46b5b838f1SMarek Vasut	  Enable MMC framework tinification support. This option is useful if
47b5b838f1SMarek Vasut	  if your SPL is extremely size constrained. Heed the warning, enable
48b5b838f1SMarek Vasut	  this option if and only if you know exactly what you are doing, if
49b5b838f1SMarek Vasut	  you are reading this help text, you most likely have no idea :-)
50b5b838f1SMarek Vasut
51b5b838f1SMarek Vasut	  The MMC framework is reduced to bare minimum to be useful. No malloc
52b5b838f1SMarek Vasut	  support is needed for the MMC framework operation with this option
53b5b838f1SMarek Vasut	  enabled. The framework supports exactly one MMC device and exactly
54b5b838f1SMarek Vasut	  one MMC driver. The MMC driver can be adjusted to avoid any malloc
55b5b838f1SMarek Vasut	  operations too, which can remove the need for malloc support in SPL
56b5b838f1SMarek Vasut	  and thus further reduce footprint.
57b5b838f1SMarek Vasut
583ad62570SJason Zhuconfig SUPPORT_EMMC_RPMB
593ad62570SJason Zhu	bool "Support eMMC replay protected memory block (RPMB)"
603ad62570SJason Zhu	depends on MMC && CMD_MMC
613ad62570SJason Zhu	default y
623ad62570SJason Zhu	help
633ad62570SJason Zhu	  Enable support for reading, writing and programming the
643ad62570SJason Zhu	  key for the Replay Protection Memory Block partition in eMMC.
653ad62570SJason Zhu
661d2c0506SMasahiro Yamadaconfig MMC_DAVINCI
671d2c0506SMasahiro Yamada	bool "TI DAVINCI Multimedia Card Interface support"
681d2c0506SMasahiro Yamada	depends on ARCH_DAVINCI
691d2c0506SMasahiro Yamada	default y
701d2c0506SMasahiro Yamada	help
711d2c0506SMasahiro Yamada	  This selects the TI DAVINCI Multimedia card Interface.
721d2c0506SMasahiro Yamada	  If you have an DAVINCI board with a Multimedia Card slot,
731d2c0506SMasahiro Yamada	  say Y here.  If unsure, say N.
741d2c0506SMasahiro Yamada
7555ed3b46SMasahiro Yamadaconfig MMC_DW
7655ed3b46SMasahiro Yamada	bool "Synopsys DesignWare Memory Card Interface"
7755ed3b46SMasahiro Yamada	help
7855ed3b46SMasahiro Yamada	  This selects support for the Synopsys DesignWare Mobile Storage IP
7955ed3b46SMasahiro Yamada	  block, this provides host support for SD and MMC interfaces, in both
8055ed3b46SMasahiro Yamada	  PIO, internal DMA mode and external DMA mode.
8155ed3b46SMasahiro Yamada
82ae4c81e9SMasahiro Yamadaconfig MMC_DW_EXYNOS
83ae4c81e9SMasahiro Yamada	bool "Exynos specific extensions for Synopsys DW Memory Card Interface"
84ae4c81e9SMasahiro Yamada	depends on ARCH_EXYNOS
85ae4c81e9SMasahiro Yamada	depends on MMC_DW
86ae4c81e9SMasahiro Yamada	default y
87ae4c81e9SMasahiro Yamada	help
88ae4c81e9SMasahiro Yamada	  This selects support for Samsung Exynos SoC specific extensions to the
89ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
90ae4c81e9SMasahiro Yamada	  for platforms based on Exynos4 and Exynos5 SoC's.
91ae4c81e9SMasahiro Yamada
92ae4c81e9SMasahiro Yamadaconfig MMC_DW_K3
93ae4c81e9SMasahiro Yamada	bool "K3 specific extensions for Synopsys DW Memory Card Interface"
94ae4c81e9SMasahiro Yamada	depends on MMC_DW
95ae4c81e9SMasahiro Yamada	help
96ae4c81e9SMasahiro Yamada	  This selects support for Hisilicon K3 SoC specific extensions to the
97ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
98ae4c81e9SMasahiro Yamada	  for platforms based on Hisilicon K3 SoC's.
99ae4c81e9SMasahiro Yamada
100fed44087SMasahiro Yamadaconfig MMC_DW_ROCKCHIP
101a8cb4fb5SSimon Glass	bool "Rockchip SD/MMC controller support"
102a8cb4fb5SSimon Glass	depends on DM_MMC && OF_CONTROL
10355ed3b46SMasahiro Yamada	depends on MMC_DW
104a8cb4fb5SSimon Glass	help
105a8cb4fb5SSimon Glass	  This enables support for the Rockchip SD/MMM controller, which is
106a8cb4fb5SSimon Glass	  based on Designware IP. The device is compatible with at least
107a8cb4fb5SSimon Glass	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
108a8cb4fb5SSimon Glass	  as removeable SD and micro-SD cards.
109a8cb4fb5SSimon Glass
110ae4c81e9SMasahiro Yamadaconfig MMC_DW_SOCFPGA
111ae4c81e9SMasahiro Yamada	bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
112ae4c81e9SMasahiro Yamada	depends on ARCH_SOCFPGA
113ae4c81e9SMasahiro Yamada	depends on MMC_DW
114ae4c81e9SMasahiro Yamada	default y
115ae4c81e9SMasahiro Yamada	help
116ae4c81e9SMasahiro Yamada	  This selects support for Altera SOCFPGA specific extensions to the
117ae4c81e9SMasahiro Yamada	  Synopsys DesignWare Memory Card Interface driver. Select this option
118ae4c81e9SMasahiro Yamada	  for platforms based on Altera SOCFPGA.
119ae4c81e9SMasahiro Yamada
12093738620SCarlo Caioneconfig MMC_MESON_GX
12193738620SCarlo Caione	bool "Meson GX EMMC controller support"
122e7881d85SSimon Glass	depends on DM_MMC && BLK && ARCH_MESON
12393738620SCarlo Caione	help
12493738620SCarlo Caione	 Support for EMMC host controller on Meson GX ARM SoCs platform (S905)
12593738620SCarlo Caione
1261d2c0506SMasahiro Yamadaconfig MMC_MXC
1271d2c0506SMasahiro Yamada	bool "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
1281d2c0506SMasahiro Yamada	help
1291d2c0506SMasahiro Yamada	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
1301d2c0506SMasahiro Yamada	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
1311d2c0506SMasahiro Yamada	  with a Multimedia Card slot, say Y here.
1321d2c0506SMasahiro Yamada
1331d2c0506SMasahiro Yamada	  If unsure, say N.
1341d2c0506SMasahiro Yamada
1351d2c0506SMasahiro Yamadaconfig MMC_MXS
1361d2c0506SMasahiro Yamada	bool "Freescale MXS Multimedia Card Interface support"
1376a35a5caSAdam Ford	depends on MX23 || MX28 || MX6 || MX7
1386a35a5caSAdam Ford	select APBH_DMA
1396a35a5caSAdam Ford	select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7
1406a35a5caSAdam Ford	select APBH_DMA_BURST8 if ARCH_MX6 || ARCH_MX7
1411d2c0506SMasahiro Yamada	help
1421d2c0506SMasahiro Yamada	  This selects the Freescale SSP MMC controller found on MXS based
1431d2c0506SMasahiro Yamada	  platforms like mx23/28.
1441d2c0506SMasahiro Yamada
1451d2c0506SMasahiro Yamada	  If unsure, say N.
1461d2c0506SMasahiro Yamada
147b706b1c2SFelipe Balbiconfig MMC_PCI
148b706b1c2SFelipe Balbi	bool "Support for MMC controllers on PCI"
149b706b1c2SFelipe Balbi	help
150b706b1c2SFelipe Balbi	  This selects PCI-based MMC controllers.
151b706b1c2SFelipe Balbi	  If you have an MMC controller on a PCI bus, say Y here.
152b706b1c2SFelipe Balbi
153b706b1c2SFelipe Balbi	  If unsure, say N.
154b706b1c2SFelipe Balbi
1551d2c0506SMasahiro Yamadaconfig MMC_OMAP_HS
1561d2c0506SMasahiro Yamada	bool "TI OMAP High Speed Multimedia Card Interface support"
157e7881d85SSimon Glass	select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
1581d2c0506SMasahiro Yamada	help
1591d2c0506SMasahiro Yamada	  This selects the TI OMAP High Speed Multimedia card Interface.
1601d2c0506SMasahiro Yamada	  If you have an omap2plus board with a Multimedia Card slot,
1611d2c0506SMasahiro Yamada	  say Y here.
1621d2c0506SMasahiro Yamada
1631d2c0506SMasahiro Yamada	  If unsure, say N.
1641d2c0506SMasahiro Yamada
1656aca17c9SAdam Fordconfig MMC_OMAP36XX_PINS
1666aca17c9SAdam Ford	bool "Enable MMC1 on OMAP36xx/37xx"
1676aca17c9SAdam Ford	depends on OMAP34XX && MMC_OMAP_HS
1686aca17c9SAdam Ford	help
1696aca17c9SAdam Ford	  This enables extended-drain in the MMC/SD/SDIO1I/O and
1706aca17c9SAdam Ford	  GPIO-associated I/O cells (gpio_126, gpio_127, and gpio_129)
1716aca17c9SAdam Ford	  specific to the OMAP36xx/37xx using MMC1
1726aca17c9SAdam Ford
1736aca17c9SAdam Ford	  If you have a controller with this interface, say Y here.
1746aca17c9SAdam Ford
1756aca17c9SAdam Ford	  If unsure, say N.
1766aca17c9SAdam Ford
17772d42badSNobuhiro Iwamatsuconfig SH_SDHI
17872d42badSNobuhiro Iwamatsu	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
1790f531185SMarek Vasut	depends on ARCH_RMOBILE
18072d42badSNobuhiro Iwamatsu	help
18172d42badSNobuhiro Iwamatsu	  Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
18272d42badSNobuhiro Iwamatsu
183a111bfbfSMasahiro Yamadaconfig MMC_UNIPHIER
184a111bfbfSMasahiro Yamada	bool "UniPhier SD/MMC Host Controller support"
185a111bfbfSMasahiro Yamada	depends on ARCH_UNIPHIER
186e7881d85SSimon Glass	depends on BLK && DM_MMC
1879c720c81SMasahiro Yamada	depends on OF_CONTROL
188a111bfbfSMasahiro Yamada	help
189a111bfbfSMasahiro Yamada	  This selects support for the SD/MMC Host Controller on UniPhier SoCs.
190a111bfbfSMasahiro Yamada
191a5995a5dSMasahiro Yamadaconfig MMC_SANDBOX
192f376a3cbSSimon Glass	bool "Sandbox MMC support"
193a5995a5dSMasahiro Yamada	depends on SANDBOX
194e7881d85SSimon Glass	depends on BLK && DM_MMC && OF_CONTROL
195f376a3cbSSimon Glass	help
196f376a3cbSSimon Glass	  This select a dummy sandbox MMC driver. At present this does nothing
197f376a3cbSSimon Glass	  other than allow sandbox to be build with MMC support. This
198f376a3cbSSimon Glass	  improves build coverage for sandbox and makes it easier to detect
199f376a3cbSSimon Glass	  MMC build errors with sandbox.
200f376a3cbSSimon Glass
201e1ce61fbSMasahiro Yamadaconfig MMC_SDHCI
202e1ce61fbSMasahiro Yamada	bool "Secure Digital Host Controller Interface support"
203e1ce61fbSMasahiro Yamada	help
204e1ce61fbSMasahiro Yamada	  This selects the generic Secure Digital Host Controller Interface.
205e1ce61fbSMasahiro Yamada	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
206e1ce61fbSMasahiro Yamada	  and Toshiba(R). Most controllers found in laptops are of this type.
207e1ce61fbSMasahiro Yamada
208e1ce61fbSMasahiro Yamada	  If you have a controller with this interface, say Y here.
209e1ce61fbSMasahiro Yamada
210e1ce61fbSMasahiro Yamada	  If unsure, say N.
211e1ce61fbSMasahiro Yamada
2123d3a74ccSMasahiro Yamadaconfig MMC_SDHCI_IO_ACCESSORS
2133d3a74ccSMasahiro Yamada	bool
2143d3a74ccSMasahiro Yamada	depends on MMC_SDHCI
2153d3a74ccSMasahiro Yamada	help
2163d3a74ccSMasahiro Yamada	  This is silent Kconfig symbol that is selected by the drivers that
2173d3a74ccSMasahiro Yamada	  need to overwrite SDHCI IO memory accessors.
2183d3a74ccSMasahiro Yamada
21945a68fe2SMasahiro Yamadaconfig MMC_SDHCI_SDMA
22045a68fe2SMasahiro Yamada	bool "Support SDHCI SDMA"
22145a68fe2SMasahiro Yamada	depends on MMC_SDHCI
22245a68fe2SMasahiro Yamada	help
22345a68fe2SMasahiro Yamada	  This enables support for the SDMA (Single Operation DMA) defined
22445a68fe2SMasahiro Yamada	  in the SD Host Controller Standard Specification Version 1.00 .
22545a68fe2SMasahiro Yamada
226dd3b64ebSMasahiro Yamadaconfig MMC_SDHCI_ATMEL
227dd3b64ebSMasahiro Yamada	bool "Atmel SDHCI controller support"
228dd3b64ebSMasahiro Yamada	depends on ARCH_AT91
229e7881d85SSimon Glass	depends on DM_MMC && BLK && ARCH_AT91
230dd3b64ebSMasahiro Yamada	depends on MMC_SDHCI
231dd3b64ebSMasahiro Yamada	help
232dd3b64ebSMasahiro Yamada	  This enables support for the Atmel SDHCI controller, which supports
233dd3b64ebSMasahiro Yamada	  the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
234dd3b64ebSMasahiro Yamada	  Memory Card Specification V3.0, and the SDIO V3.0 specification.
235dd3b64ebSMasahiro Yamada	  It is compliant with the SD Host Controller Standard V3.0
236dd3b64ebSMasahiro Yamada	  specification.
237dd3b64ebSMasahiro Yamada
23845a68fe2SMasahiro Yamadaconfig MMC_SDHCI_BCM2835
23945a68fe2SMasahiro Yamada	tristate "SDHCI support for the BCM2835 SD/MMC Controller"
24045a68fe2SMasahiro Yamada	depends on ARCH_BCM283X
24145a68fe2SMasahiro Yamada	depends on MMC_SDHCI
2423d3a74ccSMasahiro Yamada	select MMC_SDHCI_IO_ACCESSORS
24345a68fe2SMasahiro Yamada	help
24445a68fe2SMasahiro Yamada	  This selects the BCM2835 SD/MMC controller.
24545a68fe2SMasahiro Yamada
24645a68fe2SMasahiro Yamada	  If you have a BCM2835 platform with SD or MMC devices,
24745a68fe2SMasahiro Yamada	  say Y here.
24845a68fe2SMasahiro Yamada
24945a68fe2SMasahiro Yamada	  If unsure, say N.
25045a68fe2SMasahiro Yamada
251*f36ea2f6SThomas Fitzsimmonsconfig MMC_SDHCI_BCMSTB
252*f36ea2f6SThomas Fitzsimmons	tristate "SDHCI support for the BCMSTB SD/MMC Controller"
253*f36ea2f6SThomas Fitzsimmons	depends on MMC_SDHCI
254*f36ea2f6SThomas Fitzsimmons	help
255*f36ea2f6SThomas Fitzsimmons	  This selects the Broadcom set-top box SD/MMC controller.
256*f36ea2f6SThomas Fitzsimmons
257*f36ea2f6SThomas Fitzsimmons	  If you have a BCMSTB platform with SD or MMC devices,
258*f36ea2f6SThomas Fitzsimmons	  say Y here.
259*f36ea2f6SThomas Fitzsimmons
260*f36ea2f6SThomas Fitzsimmons	  If unsure, say N.
261*f36ea2f6SThomas Fitzsimmons
262e5e7a7c2SMasahiro Yamadaconfig MMC_SDHCI_CADENCE
263e5e7a7c2SMasahiro Yamada	bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
264e7881d85SSimon Glass	depends on BLK && DM_MMC
265e5e7a7c2SMasahiro Yamada	depends on MMC_SDHCI
266e5e7a7c2SMasahiro Yamada	depends on OF_CONTROL
267e5e7a7c2SMasahiro Yamada	help
268e5e7a7c2SMasahiro Yamada	  This selects the Cadence SD/SDIO/eMMC driver.
269e5e7a7c2SMasahiro Yamada
270e5e7a7c2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
271e5e7a7c2SMasahiro Yamada
272e5e7a7c2SMasahiro Yamada	  If unsure, say N.
273e5e7a7c2SMasahiro Yamada
27445a68fe2SMasahiro Yamadaconfig MMC_SDHCI_KONA
27545a68fe2SMasahiro Yamada	bool "SDHCI support on Broadcom KONA platform"
27645a68fe2SMasahiro Yamada	depends on MMC_SDHCI
27745a68fe2SMasahiro Yamada	help
27845a68fe2SMasahiro Yamada	  This selects the Broadcom Kona Secure Digital Host Controller
27945a68fe2SMasahiro Yamada	  Interface(SDHCI) support.
28045a68fe2SMasahiro Yamada	  This is used in Broadcom mobile SoCs.
28145a68fe2SMasahiro Yamada
28245a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
28345a68fe2SMasahiro Yamada
284360c67d5SMasahiro Yamadaconfig MMC_SDHCI_MSM
285360c67d5SMasahiro Yamada	bool "Qualcomm SDHCI controller"
286e7881d85SSimon Glass	depends on BLK && DM_MMC
287360c67d5SMasahiro Yamada	depends on MMC_SDHCI
288360c67d5SMasahiro Yamada	help
289360c67d5SMasahiro Yamada	  Enables support for SDHCI 2.0 controller present on some Qualcomm
290360c67d5SMasahiro Yamada          Snapdragon devices. This device is compatible with eMMC v4.5 and
291360c67d5SMasahiro Yamada          SD 3.0 specifications. Both SD and eMMC devices are supported.
292360c67d5SMasahiro Yamada	  Card-detect gpios are not supported.
293360c67d5SMasahiro Yamada
29445a68fe2SMasahiro Yamadaconfig MMC_SDHCI_MV
29545a68fe2SMasahiro Yamada	bool "SDHCI support on Marvell platform"
29645a68fe2SMasahiro Yamada	depends on ARCH_MVEBU
29745a68fe2SMasahiro Yamada	depends on MMC_SDHCI
29845a68fe2SMasahiro Yamada	help
29945a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface on
30045a68fe2SMasahiro Yamada	  Marvell platform.
30145a68fe2SMasahiro Yamada
30245a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
30345a68fe2SMasahiro Yamada
30445a68fe2SMasahiro Yamada	  If unsure, say N.
30545a68fe2SMasahiro Yamada
3061b858770SMasahiro Yamadaconfig MMC_SDHCI_PIC32
3071b858770SMasahiro Yamada	bool "Microchip PIC32 on-chip SDHCI support"
3081b858770SMasahiro Yamada	depends on DM_MMC && MACH_PIC32
3091b858770SMasahiro Yamada	depends on MMC_SDHCI
3101b858770SMasahiro Yamada	help
3111b858770SMasahiro Yamada	  Support for Microchip PIC32 SDHCI controller.
3121b858770SMasahiro Yamada
313facc8058SMasahiro Yamadaconfig MMC_SDHCI_ROCKCHIP
314facc8058SMasahiro Yamada	bool "Arasan SDHCI controller for Rockchip support"
315facc8058SMasahiro Yamada	depends on ARCH_ROCKCHIP
316e7881d85SSimon Glass	depends on DM_MMC && BLK
317facc8058SMasahiro Yamada	depends on MMC_SDHCI
318facc8058SMasahiro Yamada	help
319facc8058SMasahiro Yamada	  Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
320facc8058SMasahiro Yamada
32145a68fe2SMasahiro Yamadaconfig MMC_SDHCI_S5P
32245a68fe2SMasahiro Yamada	bool "SDHCI support on Samsung S5P SoC"
32345a68fe2SMasahiro Yamada	depends on MMC_SDHCI
32445a68fe2SMasahiro Yamada	help
32545a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface (SDHCI)
32645a68fe2SMasahiro Yamada	  on Samsung S5P SoCs.
32745a68fe2SMasahiro Yamada
32845a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
32945a68fe2SMasahiro Yamada
33045a68fe2SMasahiro Yamada	  If unsure, say N.
33145a68fe2SMasahiro Yamada
33245a68fe2SMasahiro Yamadaconfig MMC_SDHCI_SPEAR
33345a68fe2SMasahiro Yamada	bool "SDHCI support on ST SPEAr platform"
33445a68fe2SMasahiro Yamada	depends on MMC_SDHCI
33545a68fe2SMasahiro Yamada	help
33645a68fe2SMasahiro Yamada	  This selects the Secure Digital Host Controller Interface (SDHCI)
33745a68fe2SMasahiro Yamada	  often referrered to as the HSMMC block in some of the ST SPEAR range
33845a68fe2SMasahiro Yamada	  of SoC
33945a68fe2SMasahiro Yamada
34045a68fe2SMasahiro Yamada	  If you have a controller with this interface, say Y here.
34145a68fe2SMasahiro Yamada
34245a68fe2SMasahiro Yamada	  If unsure, say N.
34345a68fe2SMasahiro Yamada
344eee20f81SPatrice Chotardconfig MMC_SDHCI_STI
345eee20f81SPatrice Chotard	bool "SDHCI support for STMicroelectronics SoC"
34651cb23d4SPatrice Chotard	depends on MMC_SDHCI && OF_CONTROL
347eee20f81SPatrice Chotard	help
348eee20f81SPatrice Chotard	  This selects the Secure Digital Host Controller Interface (SDHCI)
349eee20f81SPatrice Chotard	  on STMicroelectronics STiH410 SoC.
350eee20f81SPatrice Chotard
351b6acb5f1SStefan Roeseconfig MMC_SDHCI_XENON
352b6acb5f1SStefan Roese	bool "SDHCI support for the Xenon SDHCI controller"
353b6acb5f1SStefan Roese	depends on MMC_SDHCI && DM_MMC && OF_CONTROL
354b6acb5f1SStefan Roese	help
355b6acb5f1SStefan Roese	  Support for Xenon SDHCI host controller on Marvell Armada 3700
356b6acb5f1SStefan Roese	  7k/8k ARM SoCs platforms
357b6acb5f1SStefan Roese
358b6acb5f1SStefan Roese	  If you have a controller with this interface, say Y here.
359b6acb5f1SStefan Roese
360b6acb5f1SStefan Roese	  If unsure, say N.
361b6acb5f1SStefan Roese
36283b3248eSFelipe Balbiconfig MMC_SDHCI_TANGIER
36383b3248eSFelipe Balbi	bool "Tangier SDHCI controller support"
36483b3248eSFelipe Balbi	depends on DM_MMC && BLK
36583b3248eSFelipe Balbi	depends on MMC_SDHCI
36683b3248eSFelipe Balbi	help
36783b3248eSFelipe Balbi	  This selects support for SDHCI controller on Tanginer
36883b3248eSFelipe Balbi	  SoC. Note that this controller does not sit on PCI bus and,
36983b3248eSFelipe Balbi	  hence, cannot be enumerated by standard PCI means.
37083b3248eSFelipe Balbi
37183b3248eSFelipe Balbi	  If you're using an Intel Tangier SoC (available on Intel
37283b3248eSFelipe Balbi	  Edison board), say Y here.
37383b3248eSFelipe Balbi
37483b3248eSFelipe Balbi	  If unsure, say N.
37583b3248eSFelipe Balbi
3761d2c0506SMasahiro Yamadaconfig MMC_SDHCI_TEGRA
3771d2c0506SMasahiro Yamada	bool "SDHCI platform support for the Tegra SD/MMC Controller"
3781d2c0506SMasahiro Yamada	depends on TEGRA
3791d2c0506SMasahiro Yamada	default y
3801d2c0506SMasahiro Yamada	help
3811d2c0506SMasahiro Yamada	  This selects the Tegra SD/MMC controller. If you have a Tegra
3821d2c0506SMasahiro Yamada	  platform with SD or MMC devices, say Y here.
3831d2c0506SMasahiro Yamada
3841d2c0506SMasahiro Yamada	  If unsure, say N.
3851d2c0506SMasahiro Yamada
38608aa0334SMasahiro Yamadaconfig MMC_SDHCI_ZYNQ
38708aa0334SMasahiro Yamada	bool "Arasan SDHCI controller support"
38808aa0334SMasahiro Yamada	depends on ARCH_ZYNQ || ARCH_ZYNQMP
389e7881d85SSimon Glass	depends on DM_MMC && OF_CONTROL && BLK
39008aa0334SMasahiro Yamada	depends on MMC_SDHCI
39108aa0334SMasahiro Yamada	help
39208aa0334SMasahiro Yamada	  Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
39308aa0334SMasahiro Yamada
3941d2c0506SMasahiro Yamadaconfig MMC_SUNXI
3951d2c0506SMasahiro Yamada	bool "Allwinner sunxi SD/MMC Host Controller support"
3960ad178c1SMasahiro Yamada	depends on ARCH_SUNXI && !UART0_PORT_F
3971d2c0506SMasahiro Yamada	default y
3981d2c0506SMasahiro Yamada	help
3991d2c0506SMasahiro Yamada	  This selects support for the SD/MMC Host Controller on
4001d2c0506SMasahiro Yamada	  Allwinner sunxi SoCs.
4011d2c0506SMasahiro Yamada
402de9b1771SMaxime Ripardconfig MMC_SUNXI_HAS_NEW_MODE
403de9b1771SMaxime Ripard	bool
404de9b1771SMaxime Ripard	depends on MMC_SUNXI
405de9b1771SMaxime Ripard
406c86c0155SWenyou Yangconfig GENERIC_ATMEL_MCI
407c86c0155SWenyou Yang	bool "Atmel Multimedia Card Interface support"
408e7881d85SSimon Glass	depends on DM_MMC && BLK && ARCH_AT91
409c86c0155SWenyou Yang	help
410c86c0155SWenyou Yang	  This enables support for Atmel High Speed Multimedia Card Interface
411c86c0155SWenyou Yang	  (HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3,
412c86c0155SWenyou Yang	  the SD Memory Card Specification V2.0, the SDIO V2.0 specification
413c86c0155SWenyou Yang	  and CE-ATA V1.1.
414c86c0155SWenyou Yang
415479fbf72SJason Zhuconfig MMC_USE_PRE_CONFIG
416479fbf72SJason Zhu	bool "Enable to use pre-configure set by pre-loader or bootrom"
417479fbf72SJason Zhu	help
418479fbf72SJason Zhu	  The MMC is initialized by pre-loader or bootrom, so it is no need to
419479fbf72SJason Zhu	  initialize it again. Open this config to skip some unused initialized
420479fbf72SJason Zhu	  process.
421479fbf72SJason Zhu
422e298c46aSMasahiro Yamadaendif
423e298c46aSMasahiro Yamada
4244119b709SMarcel Ziswilerconfig TEGRA124_MMC_DISABLE_EXT_LOOPBACK
4254119b709SMarcel Ziswiler	bool "Disable external clock loopback"
4264119b709SMarcel Ziswiler	depends on MMC_SDHCI_TEGRA && TEGRA124
4274119b709SMarcel Ziswiler	help
4284119b709SMarcel Ziswiler	  Disable the external clock loopback and use the internal one on SDMMC3
4294119b709SMarcel Ziswiler	  as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits
4304119b709SMarcel Ziswiler	  being set to 0xfffd according to the TRM.
4314119b709SMarcel Ziswiler
4324119b709SMarcel Ziswiler	  TODO(marcel.ziswiler@toradex.com): Move to device tree controlled
4334119b709SMarcel Ziswiler	  approach once proper kernel integration made it mainline.
4344119b709SMarcel Ziswiler
43572d42badSNobuhiro Iwamatsuendmenu
436c01e4a1aSYork Sun
437c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC111
438c01e4a1aSYork Sun	bool
439c01e4a1aSYork Sun
440c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC13
441c01e4a1aSYork Sun	bool
442c01e4a1aSYork Sun
443c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC135
444c01e4a1aSYork Sun	bool
445c01e4a1aSYork Sun
446c01e4a1aSYork Sunconfig SYS_FSL_ERRATUM_ESDHC_A001
447c01e4a1aSYork Sun	bool
448