1 menu "MMC Host controller Support"
4 bool "MMC/SD/SDIO card support"
5 default ARM || PPC || SANDBOX
8 This selects MultiMediaCard, Secure Digital and Secure
11 If you want MMC/SD/SDIO support, you should say Y here and
12 also to your specific host controller driver.
15 bool "support for MMC/SD write operations"
19 Enable write access to MMC and SD Cards
22 bool "HW reset support for eMMC"
25 Ths select Hardware reset support aka pwrseq-emmc for eMMC
29 bool "Poll for broken card detection case"
31 If card detection feature is broken, just poll to detect.
34 bool "Enable MMC controllers using Driver Model"
38 This enables the MultiMediaCard (MMC) uclass which supports MMC and
39 Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
40 and non-removable (e.g. eMMC chip) devices are supported. These
41 appear as block devices in U-Boot and can support filesystems such
45 bool "Enable MMC controllers using Driver Model in SPL"
46 depends on SPL_DM && DM_MMC
47 default n if ARCH_MVEBU && !MVEBU_SPL_BOOT_DEVICE_MMC
51 This enables the MultiMediaCard (MMC) uclass which supports MMC and
52 Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
53 and non-removable (e.g. eMMC chip) devices are supported. These
54 appear as block devices in U-Boot and can support filesystems such
59 config MMC_SDHCI_ADMA_HELPERS
63 bool "Support for SPI-based MMC controller"
64 depends on DM_MMC && DM_SPI
66 This selects SPI-based MMC controllers.
67 If you have an MMC controller on a SPI bus, say Y here.
72 bool "Support CRC for SPI-based MMC controller"
76 This enables CRC for SPI-based MMC controllers.
81 bool "ARM AMBA Multimedia Card Interface and compatible support"
83 This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
84 Interface (PL180, PL181 and compatible) support.
85 If you have an ARM(R) platform with a Multimedia Card slot,
92 Some cards and hosts may sometimes behave unexpectedly (quirks).
93 This option enable workarounds to handle those quirks. Some of them
94 are enabled by default, other may require additional flags or are
95 enabled by the host driver.
97 config SYS_MMC_MAX_BLK_COUNT
98 int "Block count limit"
101 The block count limit on MMC based devices. We default to 65535 due
102 to a 16bit register limit on some hardware.
104 config MMC_HW_PARTITIONING
105 bool "Support for HW partitioning command(eMMC)"
108 This adds a command and an API to do hardware partitioning on eMMC
111 config SUPPORT_EMMC_RPMB
112 bool "Support eMMC replay protected memory block (RPMB)"
115 Enable support for reading, writing and programming the
116 key for the Replay Protection Memory Block partition in eMMC.
118 config SUPPORT_EMMC_BOOT
119 bool "Support some additional features of the eMMC boot partitions"
121 Enable support for eMMC boot partitions. This also enables
122 extensions within the mmc command.
124 config MMC_IO_VOLTAGE
125 bool "Support IO voltage configuration"
127 IO voltage configuration allows selecting the voltage level of the IO
128 lines (not the level of main supply). This is required for UHS
129 support. For eMMC this not mandatory, but not enabling this option may
130 prevent the driver of using the faster modes.
132 config SPL_MMC_IO_VOLTAGE
133 bool "Support IO voltage configuration in SPL"
136 IO voltage configuration allows selecting the voltage level of the IO
137 lines (not the level of main supply). This is required for UHS
138 support. For eMMC this not mandatory, but not enabling this option may
139 prevent the driver of using the faster modes.
141 config MMC_UHS_SUPPORT
142 bool "enable UHS support"
143 depends on MMC_IO_VOLTAGE
145 The Ultra High Speed (UHS) bus is available on some SDHC and SDXC
146 cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus
147 frequency can go up to 208MHz (SDR104)
149 config SPL_MMC_UHS_SUPPORT
150 bool "enable UHS support in SPL"
151 depends on SPL_MMC_IO_VOLTAGE
153 The Ultra High Speed (UHS) bus is available on some SDHC and SDXC
154 cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus
155 frequency can go up to 208MHz (SDR104)
157 config MMC_HS400_ES_SUPPORT
158 bool "enable HS400 Enhanced Strobe support"
160 The HS400 Enhanced Strobe mode is support by some eMMC. The bus
161 frequency is up to 200MHz. This mode does not tune the IO.
163 config SPL_MMC_HS400_ES_SUPPORT
164 bool "enable HS400 Enhanced Strobe support in SPL"
167 The HS400 Enhanced Strobe mode is support by some eMMC. The bus
168 frequency is up to 200MHz. This mode does not tune the IO.
170 config MMC_HS400_SUPPORT
171 bool "enable HS400 support"
172 select MMC_HS200_SUPPORT
174 The HS400 mode is support by some eMMC. The bus frequency is up to
175 200MHz. This mode requires tuning the IO.
177 config SPL_MMC_HS400_SUPPORT
178 bool "enable HS400 support in SPL"
180 select SPL_MMC_HS200_SUPPORT
182 The HS400 mode is support by some eMMC. The bus frequency is up to
183 200MHz. This mode requires tuning the IO.
185 config MMC_HS200_SUPPORT
186 bool "enable HS200 support"
188 The HS200 mode is support by some eMMC. The bus frequency is up to
189 200MHz. This mode requires tuning the IO.
191 config SPL_MMC_HS200_SUPPORT
192 bool "enable HS200 support in SPL"
195 The HS200 mode is support by some eMMC. The bus frequency is up to
196 200MHz. This mode requires tuning the IO.
199 bool "Output more information about the MMC"
202 Enable the output of more information about the card such as the
208 This is an option for use by developer. Enable MMC core debugging.
210 If you need to see the MMC core message, say Y.
213 bool "TI DAVINCI Multimedia Card Interface support"
214 depends on ARCH_DAVINCI
217 This selects the TI DAVINCI Multimedia card Interface.
218 If you have an DAVINCI board with a Multimedia Card slot,
219 say Y here. If unsure, say N.
222 bool "Synopsys DesignWare Memory Card Interface"
225 This selects support for the Synopsys DesignWare Mobile Storage IP
226 block, this provides host support for SD and MMC interfaces, in both
227 PIO, internal DMA mode and external DMA mode.
229 config MMC_DW_CORTINA
230 bool "Cortina specific extensions for Synopsys DW Memory Card Interface"
235 This selects support for Cortina SoC specific extensions to the
236 Synopsys DesignWare Memory Card Interface driver. Select this option
237 for platforms based on Cortina CAxxxx Soc's.
240 bool "Exynos specific extensions for Synopsys DW Memory Card Interface"
241 depends on ARCH_EXYNOS
245 This selects support for Samsung Exynos SoC specific extensions to the
246 Synopsys DesignWare Memory Card Interface driver. Select this option
247 for platforms based on Exynos4 and Exynos5 SoC's.
250 bool "K3 specific extensions for Synopsys DW Memory Card Interface"
253 This selects support for Hisilicon K3 SoC specific extensions to the
254 Synopsys DesignWare Memory Card Interface driver. Select this option
255 for platforms based on Hisilicon K3 SoC's.
257 config MMC_DW_ROCKCHIP
258 bool "Rockchip SD/MMC controller support"
259 depends on DM_MMC && OF_CONTROL
262 This enables support for the Rockchip SD/MMM controller, which is
263 based on Designware IP. The device is compatible with at least
264 SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
265 as removeable SD and micro-SD cards.
267 config MMC_DW_SOCFPGA
268 bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
269 depends on ARCH_SOCFPGA
273 This selects support for Altera SOCFPGA specific extensions to the
274 Synopsys DesignWare Memory Card Interface driver. Select this option
275 for platforms based on Altera SOCFPGA.
278 bool "Extensions for DW Memory Card Interface used in Synopsys ARC devboards"
281 depends on OF_CONTROL
284 This selects support for Synopsys DesignWare Memory Card Interface driver
285 extensions used in various Synopsys ARC devboards.
288 bool "Nexell SD/MMC controller support"
289 depends on ARCH_NEXELL
292 depends on PINCTRL_NEXELL
296 bool "Meson GX EMMC controller support"
297 depends on DM_MMC && BLK && ARCH_MESON
299 Support for EMMC host controller on Meson GX ARM SoCs platform (S905)
302 bool "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
304 This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
305 Multimedia Card Interface. If you have an i.MX or MPC512x platform
306 with a Multimedia Card slot, say Y here.
311 bool "Actions OWL Multimedia Card Interface support"
312 depends on ARCH_OWL && DM_MMC && BLK
314 This selects the OWL SD/MMC host controller found on board
315 based on Actions S700/S900 SoC.
318 bool "Freescale MXS Multimedia Card Interface support"
319 depends on MX23 || MX28 || MX6 || MX7
322 select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7
323 select APBH_DMA_BURST8 if ARCH_MX6 || ARCH_MX7
325 This selects the Freescale SSP MMC controller found on MXS based
326 platforms like mx23/28.
331 bool "Support for MMC controllers on PCI"
334 This selects PCI-based MMC controllers.
335 If you have an MMC controller on a PCI bus, say Y here.
338 bool "Marvell Octeon Multimedia Card Interface support"
339 depends on (ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2)
342 This selects the Octeon Multimedia card Interface.
343 If you have an OcteonTX/TX2 or MIPS Octeon board with a
344 Multimedia Card slot, say Y here.
349 bool "Kirkwood MMC controller support"
350 depends on DM_MMC && BLK && ARCH_KIRKWOOD
352 Support for MMC host controller on Kirkwood SoCs.
353 If you are on a Kirkwood architecture, say Y here.
358 bool "TI OMAP High Speed Multimedia Card Interface support"
359 select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
360 select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
362 This selects the TI OMAP High Speed Multimedia card Interface.
363 If you have an omap2plus board with a Multimedia Card slot,
368 config MMC_OMAP_HS_ADMA
369 bool "ADMA support for OMAP HS MMC"
370 depends on MMC_OMAP_HS && !OMAP34XX
373 This enables support for the ADMA2 controller (SDA3.00 Part A2 DMA
374 controller). If supported by the hardware, selecting this option will
375 increase performances.
377 config MMC_OMAP36XX_PINS
378 bool "Enable MMC1 on OMAP36xx/37xx"
379 depends on OMAP34XX && MMC_OMAP_HS
381 This enables extended-drain in the MMC/SD/SDIO1I/O and
382 GPIO-associated I/O cells (gpio_126, gpio_127, and gpio_129)
383 specific to the OMAP36xx/37xx using MMC1
385 If you have a controller with this interface, say Y here.
390 bool "Enable 8-bit interface for eMMC (interface #2)"
391 depends on MMC_OMAP_HS && (OMAP44XX || OMAP54XX || DRA7XX || AM33XX || \
392 AM43XX || ARCH_KEYSTONE)
395 bool "SuperH/Renesas ARM SoCs on-chip MMCIF host controller support"
396 depends on ARCH_RENESAS || SH
398 Support for the on-chip MMCIF host controller on SuperH/Renesas ARM SoCs platform
401 bool "UniPhier SD/MMC Host Controller support"
402 depends on ARCH_UNIPHIER
403 depends on BLK && DM_MMC
404 depends on OF_CONTROL
406 This selects support for the Matsushita SD/MMC Host Controller on
407 SocioNext UniPhier SoCs.
410 bool "Renesas R-Car SD/MMC Host Controller support"
411 depends on ARCH_RENESAS
412 depends on BLK && DM_MMC
413 depends on OF_CONTROL
416 This selects support for the Matsushita SD/MMC Host Controller on
420 bool "BCM2835 family custom SD/MMC Host Controller support"
421 depends on ARCH_BCM283X
422 depends on BLK && DM_MMC
423 depends on OF_CONTROL
426 This selects support for the custom SD host controller in the BCM2835
429 If you have a BCM2835 platform with SD or MMC devices, say Y here.
434 bool "Ingenic JZ47xx SD/MMC Host Controller support"
435 depends on ARCH_JZ47XX
437 This selects support for the SD Card Controller on Ingenic JZ47xx SoCs.
440 bool "Sandbox MMC support"
442 depends on BLK && DM_MMC && OF_CONTROL
444 This select a dummy sandbox MMC driver. At present this does nothing
445 other than allow sandbox to be build with MMC support. This
446 improves build coverage for sandbox and makes it easier to detect
447 MMC build errors with sandbox.
450 bool "Secure Digital Host Controller Interface support"
452 This selects the generic Secure Digital Host Controller Interface.
453 It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
454 and Toshiba(R). Most controllers found in laptops are of this type.
456 If you have a controller with this interface, say Y here.
460 config MMC_SDHCI_IO_ACCESSORS
464 This is silent Kconfig symbol that is selected by the drivers that
465 need to overwrite SDHCI IO memory accessors.
467 config MMC_SDHCI_SDMA
468 bool "Support SDHCI SDMA"
471 This enables support for the SDMA (Single Operation DMA) defined
472 in the SD Host Controller Standard Specification Version 1.00 .
474 config SPL_MMC_SDHCI_SDMA
475 bool "Support SDHCI SDMA in SPL"
476 depends on SPL_MMC && MMC_SDHCI
477 default y if MMC_SDHCI_SDMA
479 This enables support for the SDMA (Single Operation DMA) defined
480 in the SD Host Controller Standard Specification Version 1.00 in SPL.
482 config MMC_SDHCI_ADMA
483 bool "Support SDHCI ADMA2"
485 select MMC_SDHCI_ADMA_HELPERS
487 This enables support for the ADMA (Advanced DMA) defined
488 in the SD Host Controller Standard Specification Version 3.00
490 config SPL_MMC_SDHCI_ADMA
491 bool "Support SDHCI ADMA2 in SPL"
492 depends on SPL_MMC && MMC_SDHCI
493 select MMC_SDHCI_ADMA_HELPERS
495 This enables support for the ADMA (Advanced DMA) defined
496 in the SD Host Controller Standard Specification Version 3.00 in SPL.
498 config FIXED_SDHCI_ALIGNED_BUFFER
499 hex "SDRAM address for fixed buffer"
500 depends on SPL && MVEBU_SPL_BOOT_DEVICE_MMC
503 On the Marvell Armada 38x when the SPL runs it located in internal
504 SRAM which is the L2 cache locked to memory. When the MMC buffers
505 are located on the stack (or bss), the SDIO controller (SDHCI) can't
506 write into this L2 cache memory.
508 This specifies the address of a fixed buffer located in SDRAM that
509 will be used for all SDHCI transfers in the SPL.
511 config MMC_SDHCI_ASPEED
512 bool "Aspeed SDHCI controller"
513 depends on ARCH_ASPEED
518 Enables support for the Aspeed SDHCI 2.0 controller present on Aspeed
519 SoCs. This device is compatible with SD 3.0 and/or MMC 4.3
520 specifications. On the AST2600, the device is also compatible with
521 MMC 5.1 and eMMC 3.0.
523 config MMC_SDHCI_ATMEL
524 bool "Atmel SDHCI controller support"
526 depends on DM_MMC && BLK && ARCH_AT91
529 This enables support for the Atmel SDHCI controller, which supports
530 the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
531 Memory Card Specification V3.0, and the SDIO V3.0 specification.
532 It is compliant with the SD Host Controller Standard V3.0
535 config MMC_SDHCI_BCM2835
536 tristate "SDHCI support for the BCM2835 SD/MMC Controller"
537 depends on ARCH_BCM283X
539 select MMC_SDHCI_IO_ACCESSORS
541 This selects the BCM2835 SD/MMC controller.
543 If you have a BCM2835 platform with SD or MMC devices,
548 config MMC_SDHCI_BCMSTB
549 tristate "SDHCI support for the BCMSTB SD/MMC Controller"
552 This selects the Broadcom set-top box SD/MMC controller.
554 If you have a BCMSTB platform with SD or MMC devices,
559 config MMC_SDHCI_CADENCE
560 bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
561 depends on BLK && DM_MMC
563 depends on OF_CONTROL
565 This selects the Cadence SD/SDIO/eMMC driver.
567 If you have a controller with this interface, say Y here.
571 config MMC_SDHCI_CV1800B
572 bool "SDHCI support for the CV1800B SD/SDIO/eMMC controller"
573 depends on BLK && DM_MMC
575 depends on OF_CONTROL
577 This selects the CV1800B SD/SDIO/eMMC driver.
579 If you have a controller with this interface,
584 config MMC_SDHCI_AM654
585 bool "SDHCI Controller on TI's Am654 devices"
588 depends on DM_MMC && OF_CONTROL && BLK
590 select MMC_SDHCI_IO_ACCESSORS
592 Support for Secure Digital Host Controller Interface (SDHCI)
593 controllers present on TI's AM654 SOCs.
595 config MMC_SDHCI_IPROC
596 bool "SDHCI support for the iProc SD/MMC Controller"
599 This selects the iProc SD/MMC controller.
601 If you have a Broadcom IPROC platform with SD or MMC devices,
606 config MMC_SDHCI_F_SDH30
607 bool "SDHCI support for Fujitsu Semiconductor/Socionext F_SDH30"
608 depends on BLK && DM_MMC
611 This selects the Secure Digital Host Controller Interface (SDHCI)
612 Needed by some Fujitsu/Socionext SoC for MMC / SD / SDIO support.
613 If you have a controller with this interface, say Y or M here.
616 config MMC_SDHCI_KONA
617 bool "SDHCI support on Broadcom KONA platform"
620 This selects the Broadcom Kona Secure Digital Host Controller
621 Interface(SDHCI) support.
622 This is used in Broadcom mobile SoCs.
624 If you have a controller with this interface, say Y here.
627 bool "Qualcomm SDHCI controller"
628 depends on BLK && DM_MMC
631 Enables support for SDHCI 2.0 controller present on some Qualcomm
632 Snapdragon devices. This device is compatible with eMMC v4.5 and
633 SD 3.0 specifications. Both SD and eMMC devices are supported.
634 Card-detect gpios are not supported.
637 bool "SDHCI support on Marvell platform"
638 depends on ARCH_MVEBU
642 This selects the Secure Digital Host Controller Interface on
645 If you have a controller with this interface, say Y here.
649 config MMC_SDHCI_NPCM
650 bool "SDHCI support on Nuvoton NPCM device"
654 This selects the Secure Digital Host Controller Interface (SDHCI)
655 on Nuvoton NPCM device.
657 If you have a controller with this interface, say Y here.
661 config MMC_SDHCI_PIC32
662 bool "Microchip PIC32 on-chip SDHCI support"
663 depends on DM_MMC && MACH_PIC32
666 Support for Microchip PIC32 SDHCI controller.
668 config MMC_SDHCI_ROCKCHIP
669 bool "Arasan SDHCI controller for Rockchip support"
670 depends on ARCH_ROCKCHIP
671 depends on DM_MMC && BLK
674 Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
677 bool "SDHCI support on Samsung S5P SoC"
680 This selects the Secure Digital Host Controller Interface (SDHCI)
683 If you have a controller with this interface, say Y here.
688 bool "SDHCI support for STMicroelectronics SoC"
689 depends on MMC_SDHCI && OF_CONTROL
691 This selects the Secure Digital Host Controller Interface (SDHCI)
692 on STMicroelectronics STiH410 SoC.
694 config MMC_SDHCI_XENON
695 bool "SDHCI support for the Xenon SDHCI controller"
696 depends on MMC_SDHCI && DM_MMC && OF_CONTROL
698 Support for Xenon SDHCI host controller on Marvell Armada 3700
699 7k/8k ARM SoCs platforms
701 If you have a controller with this interface, say Y here.
705 config MMC_SDHCI_TANGIER
706 bool "Tangier SDHCI controller support"
707 depends on DM_MMC && BLK
710 This selects support for SDHCI controller on Tanginer
711 SoC. Note that this controller does not sit on PCI bus and,
712 hence, cannot be enumerated by standard PCI means.
714 If you're using an Intel Tangier SoC (available on Intel
715 Edison board), say Y here.
719 config MMC_SDHCI_TEGRA
720 bool "SDHCI platform support for the Tegra SD/MMC Controller"
721 depends on ARCH_TEGRA
725 This selects the Tegra SD/MMC controller. If you have a Tegra
726 platform with SD or MMC devices, say Y here.
730 config TEGRA124_MMC_DISABLE_EXT_LOOPBACK
731 bool "Disable external clock loopback"
732 depends on MMC_SDHCI_TEGRA && TEGRA124
734 Disable the external clock loopback and use the internal one on SDMMC3
735 as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits
736 being set to 0xfffd according to the TRM.
739 approach once proper kernel integration made it mainline.
741 config MMC_SDHCI_ZYNQ
742 bool "Arasan SDHCI controller support"
743 depends on DM_MMC && OF_CONTROL && BLK
746 Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
748 config ZYNQ_SDHCI_MAX_FREQ
749 int "Set the maximum frequency of the controller"
750 depends on MMC_SDHCI_ZYNQ
752 Set the maximum frequency of the controller.
754 config ZYNQ_SDHCI_MIN_FREQ
755 int "Set the minimum frequency of the controller"
756 depends on MMC_SDHCI_ZYNQ
759 Set the minimum frequency of the controller.
761 config ZYNQ_HISPD_BROKEN
762 bool "High speed broken for Zynq SDHCI controller"
763 depends on MMC_SDHCI_ZYNQ
765 Set if high speed mode is broken.
768 bool "Allwinner sunxi SD/MMC Host Controller support"
769 depends on ARCH_SUNXI
772 This selects support for the SD/MMC Host Controller on
773 Allwinner sunxi SoCs.
775 config MMC_SUNXI_HAS_NEW_MODE
779 config MMC_SUNXI_HAS_MODE_SWITCH
784 bool "MMC support for OpenPiton SoC"
785 depends on DM_MMC && BLK
787 This selects support for the SD host controller on OpenPiton SoC.
788 Note that this SD controller directly exposes the contents of the
789 SD card as memory mapped, so there is no manual configuration
792 config GENERIC_ATMEL_MCI
793 bool "Atmel Multimedia Card Interface support"
794 depends on DM_MMC && BLK && ARCH_AT91
796 This enables support for Atmel High Speed Multimedia Card Interface
797 (HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3,
798 the SD Memory Card Specification V2.0, the SDIO V2.0 specification
802 bool "STMicroelectronics STM32H7 SD/MMC Host Controller support"
803 depends on DM_MMC && BLK && OF_CONTROL
805 This selects support for the SD/MMC controller on STM32H7 SoCs.
806 If you have a board based on such a SoC and with a SD/MMC slot,
810 bool "Ftsdc010 SD/MMC controller Support"
812 This SD/MMC controller is present in Andestech SoCs which is based on Faraday IP.
815 bool "Support ftsdc010 sdio"
818 This can enable ftsdc010 sdio function.
821 bool "MediaTek SD/MMC Card Interface support"
822 depends on ARCH_MEDIATEK || ARCH_MTMIPS
823 depends on BLK && DM_MMC
824 depends on OF_CONTROL
826 This selects the MediaTek(R) Secure digital and Multimedia card Interface.
827 If you have a machine with a integrated SD/MMC card reader, say Y or M here.
828 This is needed if support for any SD/SDIO/MMC devices is required.
837 bool "Freescale/NXP eSDHC controller support"
838 select FSL_SDHC_V2_3 if ARCH_P1010 || ARCH_BSC9131 || ARCH_BSC9132 \
841 This selects support for the eSDHC (Enhanced Secure Digital Host
842 Controller) found on numerous Freescale/NXP SoCs.
844 config FSL_ESDHC_SUPPORT_ADMA2
845 bool "enable ADMA2 support"
847 select MMC_SDHCI_ADMA_HELPERS
849 This enables support for the ADMA2 transfer mode. If supported by the
850 eSDHC it will allow 64bit DMA addresses.
852 config FSL_ESDHC_33V_IO_RELIABILITY_WORKAROUND
853 bool "enable eSDHC workaround for 3.3v IO reliability issue"
854 depends on FSL_ESDHC && DM_MMC
856 When eSDHC operates at 3.3v, damage can accumulate in an internal
857 level shifter at a higher than expected rate. The faster the interface
858 runs, the more damage accumulates. This issue now is found on LX2160A
859 eSDHC1 for only SD card. The hardware workaround is recommended to use
860 an on-board level shifter that is 1.8v on SoC side and 3.3v on SD card
861 side. For boards without hardware workaround, this option could be
862 enabled, ensuring 1.8v IO voltage and disabling eSDHC if no card.
863 This option assumes no hotplug, and u-boot has to make all the way to
864 to linux to use 1.8v UHS-I speed mode if has card.
866 config FSL_ESDHC_VS33_NOT_SUPPORT
867 bool "3.3V power supply not supported"
870 For eSDHC, power supply is through peripheral circuit. 3.3V support is
871 common. Select this if 3.3V power supply not supported.
873 config SYS_FSL_ESDHC_DEFAULT_BUS_WIDTH
878 config ESDHC_DETECT_QUIRK
879 bool "QIXIS-based eSDHC quirk detection"
880 depends on FSL_ESDHC && FSL_QIXIS
883 bool "Freescale/NXP i.MX eSDHC controller support"
885 This selects support for the i.MX eSDHC (Enhanced Secure Digital Host
886 Controller) found on numerous Freescale/NXP SoCs.
888 config SYS_FSL_ESDHC_HAS_DDR_MODE
889 bool "i.MX eSDHC controller supports DDR mode"
890 depends on FSL_ESDHC_IMX
893 bool "Freescale/NXP i.MX uSDHC controller support"
894 depends on MX6 || MX7 ||ARCH_MX7ULP || IMX8 || IMX8M || IMX8ULP || IMX9 || IMXRT
897 This enables the Ultra Secured Digital Host Controller enhancements
899 config FSL_ESDHC_PIN_MUX
900 bool "Perform esdhc device-tree fixup"
901 depends on (FSL_ESDHC || FSL_ESDHC_IMX) && OF_LIBFDT
905 config SYS_FSL_ERRATUM_ESDHC111
908 config SYS_FSL_ERRATUM_ESDHC13
911 config SYS_FSL_ERRATUM_ESDHC135
914 config SYS_FSL_ERRATUM_ESDHC_A001
917 config SYS_FSL_ERRATUM_A011334
920 config SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND