xref: /OK3568_Linux_fs/u-boot/drivers/mmc/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunmenu "MMC Host controller Support"
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunconfig MMC
4*4882a593Smuzhiyun	bool "MMC/SD/SDIO card support"
5*4882a593Smuzhiyun	default ARM || PPC || SANDBOX
6*4882a593Smuzhiyun	help
7*4882a593Smuzhiyun	  This selects MultiMediaCard, Secure Digital and Secure
8*4882a593Smuzhiyun	  Digital I/O support.
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun	  If you want MMC/SD/SDIO support, you should say Y here and
11*4882a593Smuzhiyun	  also to your specific host controller driver.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunconfig MMC_WRITE
14*4882a593Smuzhiyun	bool "support for MMC/SD write operations"
15*4882a593Smuzhiyun	depends on MMC
16*4882a593Smuzhiyun	default y
17*4882a593Smuzhiyun	help
18*4882a593Smuzhiyun	  Enable write access to MMC and SD Cards
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig DM_MMC
21*4882a593Smuzhiyun	bool "Enable MMC controllers using Driver Model"
22*4882a593Smuzhiyun	depends on DM
23*4882a593Smuzhiyun	help
24*4882a593Smuzhiyun	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
25*4882a593Smuzhiyun	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
26*4882a593Smuzhiyun	  and non-removable (e.g. eMMC chip) devices are supported. These
27*4882a593Smuzhiyun	  appear as block devices in U-Boot and can support filesystems such
28*4882a593Smuzhiyun	  as EXT4 and FAT.
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunconfig SPL_DM_MMC
31*4882a593Smuzhiyun	bool "Enable MMC controllers using Driver Model in SPL"
32*4882a593Smuzhiyun	depends on SPL_DM && DM_MMC
33*4882a593Smuzhiyun	default y
34*4882a593Smuzhiyun	help
35*4882a593Smuzhiyun	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
36*4882a593Smuzhiyun	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
37*4882a593Smuzhiyun	  and non-removable (e.g. eMMC chip) devices are supported. These
38*4882a593Smuzhiyun	  appear as block devices in U-Boot and can support filesystems such
39*4882a593Smuzhiyun	  as EXT4 and FAT.
40*4882a593Smuzhiyun
41*4882a593Smuzhiyunif MMC
42*4882a593Smuzhiyun
43*4882a593Smuzhiyunconfig SPL_MMC_TINY
44*4882a593Smuzhiyun	bool "Tiny MMC framework in SPL"
45*4882a593Smuzhiyun	help
46*4882a593Smuzhiyun	  Enable MMC framework tinification support. This option is useful if
47*4882a593Smuzhiyun	  if your SPL is extremely size constrained. Heed the warning, enable
48*4882a593Smuzhiyun	  this option if and only if you know exactly what you are doing, if
49*4882a593Smuzhiyun	  you are reading this help text, you most likely have no idea :-)
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun	  The MMC framework is reduced to bare minimum to be useful. No malloc
52*4882a593Smuzhiyun	  support is needed for the MMC framework operation with this option
53*4882a593Smuzhiyun	  enabled. The framework supports exactly one MMC device and exactly
54*4882a593Smuzhiyun	  one MMC driver. The MMC driver can be adjusted to avoid any malloc
55*4882a593Smuzhiyun	  operations too, which can remove the need for malloc support in SPL
56*4882a593Smuzhiyun	  and thus further reduce footprint.
57*4882a593Smuzhiyun
58*4882a593Smuzhiyunconfig MMC_SIMPLE
59*4882a593Smuzhiyun	bool "Reduce mmc code size"
60*4882a593Smuzhiyun	help
61*4882a593Smuzhiyun	  Reduce mmc code size.
62*4882a593Smuzhiyun
63*4882a593Smuzhiyunconfig SUPPORT_EMMC_RPMB
64*4882a593Smuzhiyun	bool "Support eMMC replay protected memory block (RPMB)"
65*4882a593Smuzhiyun	depends on MMC && CMD_MMC
66*4882a593Smuzhiyun	default y
67*4882a593Smuzhiyun	help
68*4882a593Smuzhiyun	  Enable support for reading, writing and programming the
69*4882a593Smuzhiyun	  key for the Replay Protection Memory Block partition in eMMC.
70*4882a593Smuzhiyun
71*4882a593Smuzhiyunconfig MMC_DAVINCI
72*4882a593Smuzhiyun	bool "TI DAVINCI Multimedia Card Interface support"
73*4882a593Smuzhiyun	depends on ARCH_DAVINCI
74*4882a593Smuzhiyun	default y
75*4882a593Smuzhiyun	help
76*4882a593Smuzhiyun	  This selects the TI DAVINCI Multimedia card Interface.
77*4882a593Smuzhiyun	  If you have an DAVINCI board with a Multimedia Card slot,
78*4882a593Smuzhiyun	  say Y here.  If unsure, say N.
79*4882a593Smuzhiyun
80*4882a593Smuzhiyunconfig MMC_DW
81*4882a593Smuzhiyun	bool "Synopsys DesignWare Memory Card Interface"
82*4882a593Smuzhiyun	help
83*4882a593Smuzhiyun	  This selects support for the Synopsys DesignWare Mobile Storage IP
84*4882a593Smuzhiyun	  block, this provides host support for SD and MMC interfaces, in both
85*4882a593Smuzhiyun	  PIO, internal DMA mode and external DMA mode.
86*4882a593Smuzhiyun
87*4882a593Smuzhiyunconfig MMC_DW_EXYNOS
88*4882a593Smuzhiyun	bool "Exynos specific extensions for Synopsys DW Memory Card Interface"
89*4882a593Smuzhiyun	depends on ARCH_EXYNOS
90*4882a593Smuzhiyun	depends on MMC_DW
91*4882a593Smuzhiyun	default y
92*4882a593Smuzhiyun	help
93*4882a593Smuzhiyun	  This selects support for Samsung Exynos SoC specific extensions to the
94*4882a593Smuzhiyun	  Synopsys DesignWare Memory Card Interface driver. Select this option
95*4882a593Smuzhiyun	  for platforms based on Exynos4 and Exynos5 SoC's.
96*4882a593Smuzhiyun
97*4882a593Smuzhiyunconfig MMC_DW_K3
98*4882a593Smuzhiyun	bool "K3 specific extensions for Synopsys DW Memory Card Interface"
99*4882a593Smuzhiyun	depends on MMC_DW
100*4882a593Smuzhiyun	help
101*4882a593Smuzhiyun	  This selects support for Hisilicon K3 SoC specific extensions to the
102*4882a593Smuzhiyun	  Synopsys DesignWare Memory Card Interface driver. Select this option
103*4882a593Smuzhiyun	  for platforms based on Hisilicon K3 SoC's.
104*4882a593Smuzhiyun
105*4882a593Smuzhiyunconfig MMC_DW_ROCKCHIP
106*4882a593Smuzhiyun	bool "Rockchip SD/MMC controller support"
107*4882a593Smuzhiyun	depends on DM_MMC && OF_CONTROL
108*4882a593Smuzhiyun	depends on MMC_DW
109*4882a593Smuzhiyun	help
110*4882a593Smuzhiyun	  This enables support for the Rockchip SD/MMM controller, which is
111*4882a593Smuzhiyun	  based on Designware IP. The device is compatible with at least
112*4882a593Smuzhiyun	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
113*4882a593Smuzhiyun	  as removeable SD and micro-SD cards.
114*4882a593Smuzhiyun
115*4882a593Smuzhiyunconfig MMC_DW_SOCFPGA
116*4882a593Smuzhiyun	bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
117*4882a593Smuzhiyun	depends on ARCH_SOCFPGA
118*4882a593Smuzhiyun	depends on MMC_DW
119*4882a593Smuzhiyun	default y
120*4882a593Smuzhiyun	help
121*4882a593Smuzhiyun	  This selects support for Altera SOCFPGA specific extensions to the
122*4882a593Smuzhiyun	  Synopsys DesignWare Memory Card Interface driver. Select this option
123*4882a593Smuzhiyun	  for platforms based on Altera SOCFPGA.
124*4882a593Smuzhiyun
125*4882a593Smuzhiyunconfig MMC_MESON_GX
126*4882a593Smuzhiyun	bool "Meson GX EMMC controller support"
127*4882a593Smuzhiyun	depends on DM_MMC && BLK && ARCH_MESON
128*4882a593Smuzhiyun	help
129*4882a593Smuzhiyun	 Support for EMMC host controller on Meson GX ARM SoCs platform (S905)
130*4882a593Smuzhiyun
131*4882a593Smuzhiyunconfig MMC_MXC
132*4882a593Smuzhiyun	bool "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
133*4882a593Smuzhiyun	help
134*4882a593Smuzhiyun	  This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
135*4882a593Smuzhiyun	  Multimedia Card Interface. If you have an i.MX or MPC512x platform
136*4882a593Smuzhiyun	  with a Multimedia Card slot, say Y here.
137*4882a593Smuzhiyun
138*4882a593Smuzhiyun	  If unsure, say N.
139*4882a593Smuzhiyun
140*4882a593Smuzhiyunconfig MMC_MXS
141*4882a593Smuzhiyun	bool "Freescale MXS Multimedia Card Interface support"
142*4882a593Smuzhiyun	depends on MX23 || MX28 || MX6 || MX7
143*4882a593Smuzhiyun	select APBH_DMA
144*4882a593Smuzhiyun	select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7
145*4882a593Smuzhiyun	select APBH_DMA_BURST8 if ARCH_MX6 || ARCH_MX7
146*4882a593Smuzhiyun	help
147*4882a593Smuzhiyun	  This selects the Freescale SSP MMC controller found on MXS based
148*4882a593Smuzhiyun	  platforms like mx23/28.
149*4882a593Smuzhiyun
150*4882a593Smuzhiyun	  If unsure, say N.
151*4882a593Smuzhiyun
152*4882a593Smuzhiyunconfig MMC_PCI
153*4882a593Smuzhiyun	bool "Support for MMC controllers on PCI"
154*4882a593Smuzhiyun	help
155*4882a593Smuzhiyun	  This selects PCI-based MMC controllers.
156*4882a593Smuzhiyun	  If you have an MMC controller on a PCI bus, say Y here.
157*4882a593Smuzhiyun
158*4882a593Smuzhiyun	  If unsure, say N.
159*4882a593Smuzhiyun
160*4882a593Smuzhiyunconfig MMC_OMAP_HS
161*4882a593Smuzhiyun	bool "TI OMAP High Speed Multimedia Card Interface support"
162*4882a593Smuzhiyun	select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
163*4882a593Smuzhiyun	help
164*4882a593Smuzhiyun	  This selects the TI OMAP High Speed Multimedia card Interface.
165*4882a593Smuzhiyun	  If you have an omap2plus board with a Multimedia Card slot,
166*4882a593Smuzhiyun	  say Y here.
167*4882a593Smuzhiyun
168*4882a593Smuzhiyun	  If unsure, say N.
169*4882a593Smuzhiyun
170*4882a593Smuzhiyunconfig MMC_OMAP36XX_PINS
171*4882a593Smuzhiyun	bool "Enable MMC1 on OMAP36xx/37xx"
172*4882a593Smuzhiyun	depends on OMAP34XX && MMC_OMAP_HS
173*4882a593Smuzhiyun	help
174*4882a593Smuzhiyun	  This enables extended-drain in the MMC/SD/SDIO1I/O and
175*4882a593Smuzhiyun	  GPIO-associated I/O cells (gpio_126, gpio_127, and gpio_129)
176*4882a593Smuzhiyun	  specific to the OMAP36xx/37xx using MMC1
177*4882a593Smuzhiyun
178*4882a593Smuzhiyun	  If you have a controller with this interface, say Y here.
179*4882a593Smuzhiyun
180*4882a593Smuzhiyun	  If unsure, say N.
181*4882a593Smuzhiyun
182*4882a593Smuzhiyunconfig SH_SDHI
183*4882a593Smuzhiyun	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
184*4882a593Smuzhiyun	depends on ARCH_RMOBILE
185*4882a593Smuzhiyun	help
186*4882a593Smuzhiyun	  Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
187*4882a593Smuzhiyun
188*4882a593Smuzhiyunconfig MMC_UNIPHIER
189*4882a593Smuzhiyun	bool "UniPhier SD/MMC Host Controller support"
190*4882a593Smuzhiyun	depends on ARCH_UNIPHIER
191*4882a593Smuzhiyun	depends on BLK && DM_MMC
192*4882a593Smuzhiyun	depends on OF_CONTROL
193*4882a593Smuzhiyun	help
194*4882a593Smuzhiyun	  This selects support for the SD/MMC Host Controller on UniPhier SoCs.
195*4882a593Smuzhiyun
196*4882a593Smuzhiyunconfig MMC_SANDBOX
197*4882a593Smuzhiyun	bool "Sandbox MMC support"
198*4882a593Smuzhiyun	depends on SANDBOX
199*4882a593Smuzhiyun	depends on BLK && DM_MMC && OF_CONTROL
200*4882a593Smuzhiyun	help
201*4882a593Smuzhiyun	  This select a dummy sandbox MMC driver. At present this does nothing
202*4882a593Smuzhiyun	  other than allow sandbox to be build with MMC support. This
203*4882a593Smuzhiyun	  improves build coverage for sandbox and makes it easier to detect
204*4882a593Smuzhiyun	  MMC build errors with sandbox.
205*4882a593Smuzhiyun
206*4882a593Smuzhiyunconfig MMC_SDHCI
207*4882a593Smuzhiyun	bool "Secure Digital Host Controller Interface support"
208*4882a593Smuzhiyun	help
209*4882a593Smuzhiyun	  This selects the generic Secure Digital Host Controller Interface.
210*4882a593Smuzhiyun	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
211*4882a593Smuzhiyun	  and Toshiba(R). Most controllers found in laptops are of this type.
212*4882a593Smuzhiyun
213*4882a593Smuzhiyun	  If you have a controller with this interface, say Y here.
214*4882a593Smuzhiyun
215*4882a593Smuzhiyun	  If unsure, say N.
216*4882a593Smuzhiyun
217*4882a593Smuzhiyunconfig MMC_SDHCI_IO_ACCESSORS
218*4882a593Smuzhiyun	bool
219*4882a593Smuzhiyun	depends on MMC_SDHCI
220*4882a593Smuzhiyun	help
221*4882a593Smuzhiyun	  This is silent Kconfig symbol that is selected by the drivers that
222*4882a593Smuzhiyun	  need to overwrite SDHCI IO memory accessors.
223*4882a593Smuzhiyun
224*4882a593Smuzhiyunconfig MMC_SDHCI_SDMA
225*4882a593Smuzhiyun	bool "Support SDHCI SDMA"
226*4882a593Smuzhiyun	depends on MMC_SDHCI
227*4882a593Smuzhiyun	help
228*4882a593Smuzhiyun	  This enables support for the SDMA (Single Operation DMA) defined
229*4882a593Smuzhiyun	  in the SD Host Controller Standard Specification Version 1.00 .
230*4882a593Smuzhiyun
231*4882a593Smuzhiyunconfig MMC_SDHCI_ATMEL
232*4882a593Smuzhiyun	bool "Atmel SDHCI controller support"
233*4882a593Smuzhiyun	depends on ARCH_AT91
234*4882a593Smuzhiyun	depends on DM_MMC && BLK && ARCH_AT91
235*4882a593Smuzhiyun	depends on MMC_SDHCI
236*4882a593Smuzhiyun	help
237*4882a593Smuzhiyun	  This enables support for the Atmel SDHCI controller, which supports
238*4882a593Smuzhiyun	  the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
239*4882a593Smuzhiyun	  Memory Card Specification V3.0, and the SDIO V3.0 specification.
240*4882a593Smuzhiyun	  It is compliant with the SD Host Controller Standard V3.0
241*4882a593Smuzhiyun	  specification.
242*4882a593Smuzhiyun
243*4882a593Smuzhiyunconfig MMC_SDHCI_BCM2835
244*4882a593Smuzhiyun	tristate "SDHCI support for the BCM2835 SD/MMC Controller"
245*4882a593Smuzhiyun	depends on ARCH_BCM283X
246*4882a593Smuzhiyun	depends on MMC_SDHCI
247*4882a593Smuzhiyun	select MMC_SDHCI_IO_ACCESSORS
248*4882a593Smuzhiyun	help
249*4882a593Smuzhiyun	  This selects the BCM2835 SD/MMC controller.
250*4882a593Smuzhiyun
251*4882a593Smuzhiyun	  If you have a BCM2835 platform with SD or MMC devices,
252*4882a593Smuzhiyun	  say Y here.
253*4882a593Smuzhiyun
254*4882a593Smuzhiyun	  If unsure, say N.
255*4882a593Smuzhiyun
256*4882a593Smuzhiyunconfig MMC_SDHCI_BCMSTB
257*4882a593Smuzhiyun	tristate "SDHCI support for the BCMSTB SD/MMC Controller"
258*4882a593Smuzhiyun	depends on MMC_SDHCI
259*4882a593Smuzhiyun	help
260*4882a593Smuzhiyun	  This selects the Broadcom set-top box SD/MMC controller.
261*4882a593Smuzhiyun
262*4882a593Smuzhiyun	  If you have a BCMSTB platform with SD or MMC devices,
263*4882a593Smuzhiyun	  say Y here.
264*4882a593Smuzhiyun
265*4882a593Smuzhiyun	  If unsure, say N.
266*4882a593Smuzhiyun
267*4882a593Smuzhiyunconfig MMC_SDHCI_CADENCE
268*4882a593Smuzhiyun	bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
269*4882a593Smuzhiyun	depends on BLK && DM_MMC
270*4882a593Smuzhiyun	depends on MMC_SDHCI
271*4882a593Smuzhiyun	depends on OF_CONTROL
272*4882a593Smuzhiyun	help
273*4882a593Smuzhiyun	  This selects the Cadence SD/SDIO/eMMC driver.
274*4882a593Smuzhiyun
275*4882a593Smuzhiyun	  If you have a controller with this interface, say Y here.
276*4882a593Smuzhiyun
277*4882a593Smuzhiyun	  If unsure, say N.
278*4882a593Smuzhiyun
279*4882a593Smuzhiyunconfig MMC_SDHCI_KONA
280*4882a593Smuzhiyun	bool "SDHCI support on Broadcom KONA platform"
281*4882a593Smuzhiyun	depends on MMC_SDHCI
282*4882a593Smuzhiyun	help
283*4882a593Smuzhiyun	  This selects the Broadcom Kona Secure Digital Host Controller
284*4882a593Smuzhiyun	  Interface(SDHCI) support.
285*4882a593Smuzhiyun	  This is used in Broadcom mobile SoCs.
286*4882a593Smuzhiyun
287*4882a593Smuzhiyun	  If you have a controller with this interface, say Y here.
288*4882a593Smuzhiyun
289*4882a593Smuzhiyunconfig MMC_SDHCI_MSM
290*4882a593Smuzhiyun	bool "Qualcomm SDHCI controller"
291*4882a593Smuzhiyun	depends on BLK && DM_MMC
292*4882a593Smuzhiyun	depends on MMC_SDHCI
293*4882a593Smuzhiyun	help
294*4882a593Smuzhiyun	  Enables support for SDHCI 2.0 controller present on some Qualcomm
295*4882a593Smuzhiyun          Snapdragon devices. This device is compatible with eMMC v4.5 and
296*4882a593Smuzhiyun          SD 3.0 specifications. Both SD and eMMC devices are supported.
297*4882a593Smuzhiyun	  Card-detect gpios are not supported.
298*4882a593Smuzhiyun
299*4882a593Smuzhiyunconfig MMC_SDHCI_MV
300*4882a593Smuzhiyun	bool "SDHCI support on Marvell platform"
301*4882a593Smuzhiyun	depends on ARCH_MVEBU
302*4882a593Smuzhiyun	depends on MMC_SDHCI
303*4882a593Smuzhiyun	help
304*4882a593Smuzhiyun	  This selects the Secure Digital Host Controller Interface on
305*4882a593Smuzhiyun	  Marvell platform.
306*4882a593Smuzhiyun
307*4882a593Smuzhiyun	  If you have a controller with this interface, say Y here.
308*4882a593Smuzhiyun
309*4882a593Smuzhiyun	  If unsure, say N.
310*4882a593Smuzhiyun
311*4882a593Smuzhiyunconfig MMC_SDHCI_PIC32
312*4882a593Smuzhiyun	bool "Microchip PIC32 on-chip SDHCI support"
313*4882a593Smuzhiyun	depends on DM_MMC && MACH_PIC32
314*4882a593Smuzhiyun	depends on MMC_SDHCI
315*4882a593Smuzhiyun	help
316*4882a593Smuzhiyun	  Support for Microchip PIC32 SDHCI controller.
317*4882a593Smuzhiyun
318*4882a593Smuzhiyunconfig MMC_SDHCI_ROCKCHIP
319*4882a593Smuzhiyun	bool "Arasan SDHCI controller for Rockchip support"
320*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
321*4882a593Smuzhiyun	depends on DM_MMC && BLK
322*4882a593Smuzhiyun	depends on MMC_SDHCI
323*4882a593Smuzhiyun	help
324*4882a593Smuzhiyun	  Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
325*4882a593Smuzhiyun
326*4882a593Smuzhiyunconfig MMC_SDHCI_S5P
327*4882a593Smuzhiyun	bool "SDHCI support on Samsung S5P SoC"
328*4882a593Smuzhiyun	depends on MMC_SDHCI
329*4882a593Smuzhiyun	help
330*4882a593Smuzhiyun	  This selects the Secure Digital Host Controller Interface (SDHCI)
331*4882a593Smuzhiyun	  on Samsung S5P SoCs.
332*4882a593Smuzhiyun
333*4882a593Smuzhiyun	  If you have a controller with this interface, say Y here.
334*4882a593Smuzhiyun
335*4882a593Smuzhiyun	  If unsure, say N.
336*4882a593Smuzhiyun
337*4882a593Smuzhiyunconfig MMC_SDHCI_SPEAR
338*4882a593Smuzhiyun	bool "SDHCI support on ST SPEAr platform"
339*4882a593Smuzhiyun	depends on MMC_SDHCI
340*4882a593Smuzhiyun	help
341*4882a593Smuzhiyun	  This selects the Secure Digital Host Controller Interface (SDHCI)
342*4882a593Smuzhiyun	  often referrered to as the HSMMC block in some of the ST SPEAR range
343*4882a593Smuzhiyun	  of SoC
344*4882a593Smuzhiyun
345*4882a593Smuzhiyun	  If you have a controller with this interface, say Y here.
346*4882a593Smuzhiyun
347*4882a593Smuzhiyun	  If unsure, say N.
348*4882a593Smuzhiyun
349*4882a593Smuzhiyunconfig MMC_SDHCI_STI
350*4882a593Smuzhiyun	bool "SDHCI support for STMicroelectronics SoC"
351*4882a593Smuzhiyun	depends on MMC_SDHCI && OF_CONTROL
352*4882a593Smuzhiyun	help
353*4882a593Smuzhiyun	  This selects the Secure Digital Host Controller Interface (SDHCI)
354*4882a593Smuzhiyun	  on STMicroelectronics STiH410 SoC.
355*4882a593Smuzhiyun
356*4882a593Smuzhiyunconfig MMC_SDHCI_XENON
357*4882a593Smuzhiyun	bool "SDHCI support for the Xenon SDHCI controller"
358*4882a593Smuzhiyun	depends on MMC_SDHCI && DM_MMC && OF_CONTROL
359*4882a593Smuzhiyun	help
360*4882a593Smuzhiyun	  Support for Xenon SDHCI host controller on Marvell Armada 3700
361*4882a593Smuzhiyun	  7k/8k ARM SoCs platforms
362*4882a593Smuzhiyun
363*4882a593Smuzhiyun	  If you have a controller with this interface, say Y here.
364*4882a593Smuzhiyun
365*4882a593Smuzhiyun	  If unsure, say N.
366*4882a593Smuzhiyun
367*4882a593Smuzhiyunconfig MMC_SDHCI_TANGIER
368*4882a593Smuzhiyun	bool "Tangier SDHCI controller support"
369*4882a593Smuzhiyun	depends on DM_MMC && BLK
370*4882a593Smuzhiyun	depends on MMC_SDHCI
371*4882a593Smuzhiyun	help
372*4882a593Smuzhiyun	  This selects support for SDHCI controller on Tanginer
373*4882a593Smuzhiyun	  SoC. Note that this controller does not sit on PCI bus and,
374*4882a593Smuzhiyun	  hence, cannot be enumerated by standard PCI means.
375*4882a593Smuzhiyun
376*4882a593Smuzhiyun	  If you're using an Intel Tangier SoC (available on Intel
377*4882a593Smuzhiyun	  Edison board), say Y here.
378*4882a593Smuzhiyun
379*4882a593Smuzhiyun	  If unsure, say N.
380*4882a593Smuzhiyun
381*4882a593Smuzhiyunconfig MMC_SDHCI_TEGRA
382*4882a593Smuzhiyun	bool "SDHCI platform support for the Tegra SD/MMC Controller"
383*4882a593Smuzhiyun	depends on TEGRA
384*4882a593Smuzhiyun	default y
385*4882a593Smuzhiyun	help
386*4882a593Smuzhiyun	  This selects the Tegra SD/MMC controller. If you have a Tegra
387*4882a593Smuzhiyun	  platform with SD or MMC devices, say Y here.
388*4882a593Smuzhiyun
389*4882a593Smuzhiyun	  If unsure, say N.
390*4882a593Smuzhiyun
391*4882a593Smuzhiyunconfig MMC_SDHCI_ZYNQ
392*4882a593Smuzhiyun	bool "Arasan SDHCI controller support"
393*4882a593Smuzhiyun	depends on ARCH_ZYNQ || ARCH_ZYNQMP
394*4882a593Smuzhiyun	depends on DM_MMC && OF_CONTROL && BLK
395*4882a593Smuzhiyun	depends on MMC_SDHCI
396*4882a593Smuzhiyun	help
397*4882a593Smuzhiyun	  Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
398*4882a593Smuzhiyun
399*4882a593Smuzhiyunconfig MMC_SUNXI
400*4882a593Smuzhiyun	bool "Allwinner sunxi SD/MMC Host Controller support"
401*4882a593Smuzhiyun	depends on ARCH_SUNXI && !UART0_PORT_F
402*4882a593Smuzhiyun	default y
403*4882a593Smuzhiyun	help
404*4882a593Smuzhiyun	  This selects support for the SD/MMC Host Controller on
405*4882a593Smuzhiyun	  Allwinner sunxi SoCs.
406*4882a593Smuzhiyun
407*4882a593Smuzhiyunconfig MMC_SUNXI_HAS_NEW_MODE
408*4882a593Smuzhiyun	bool
409*4882a593Smuzhiyun	depends on MMC_SUNXI
410*4882a593Smuzhiyun
411*4882a593Smuzhiyunconfig GENERIC_ATMEL_MCI
412*4882a593Smuzhiyun	bool "Atmel Multimedia Card Interface support"
413*4882a593Smuzhiyun	depends on DM_MMC && BLK && ARCH_AT91
414*4882a593Smuzhiyun	help
415*4882a593Smuzhiyun	  This enables support for Atmel High Speed Multimedia Card Interface
416*4882a593Smuzhiyun	  (HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3,
417*4882a593Smuzhiyun	  the SD Memory Card Specification V2.0, the SDIO V2.0 specification
418*4882a593Smuzhiyun	  and CE-ATA V1.1.
419*4882a593Smuzhiyun
420*4882a593Smuzhiyunconfig MMC_USE_PRE_CONFIG
421*4882a593Smuzhiyun	bool "Enable to use pre-configure set by pre-loader or bootrom"
422*4882a593Smuzhiyun	help
423*4882a593Smuzhiyun	  The MMC is initialized by pre-loader or bootrom, so it is no need to
424*4882a593Smuzhiyun	  initialize it again. Open this config to skip some unused initialized
425*4882a593Smuzhiyun	  process.
426*4882a593Smuzhiyun
427*4882a593Smuzhiyunendif
428*4882a593Smuzhiyun
429*4882a593Smuzhiyunconfig TEGRA124_MMC_DISABLE_EXT_LOOPBACK
430*4882a593Smuzhiyun	bool "Disable external clock loopback"
431*4882a593Smuzhiyun	depends on MMC_SDHCI_TEGRA && TEGRA124
432*4882a593Smuzhiyun	help
433*4882a593Smuzhiyun	  Disable the external clock loopback and use the internal one on SDMMC3
434*4882a593Smuzhiyun	  as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits
435*4882a593Smuzhiyun	  being set to 0xfffd according to the TRM.
436*4882a593Smuzhiyun
437*4882a593Smuzhiyun	  TODO(marcel.ziswiler@toradex.com): Move to device tree controlled
438*4882a593Smuzhiyun	  approach once proper kernel integration made it mainline.
439*4882a593Smuzhiyun
440*4882a593Smuzhiyunendmenu
441*4882a593Smuzhiyun
442*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_ESDHC111
443*4882a593Smuzhiyun	bool
444*4882a593Smuzhiyun
445*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_ESDHC13
446*4882a593Smuzhiyun	bool
447*4882a593Smuzhiyun
448*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_ESDHC135
449*4882a593Smuzhiyun	bool
450*4882a593Smuzhiyun
451*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_ESDHC_A001
452*4882a593Smuzhiyun	bool
453