blob: 510050f3920a1f713878eea4c027c5c00e4be82f [file] [log] [blame]
Nobuhiro Iwamatsu3ec5f862014-12-17 08:03:00 +09001menu "MMC Host controller Support"
2
Maxime Ripard4f780742015-10-15 22:04:05 +02003config MMC
Masahiro Yamadaa5ed4be2016-12-07 22:10:26 +09004 bool "MMC/SD/SDIO card support"
5 default ARM || PPC || SANDBOX
Tom Rini9b384002021-04-21 15:32:27 -04006 select DM_MMC if DM
Maxime Ripard4f780742015-10-15 22:04:05 +02007 help
Masahiro Yamadaa5ed4be2016-12-07 22:10:26 +09008 This selects MultiMediaCard, Secure Digital and Secure
9 Digital I/O support.
10
11 If you want MMC/SD/SDIO support, you should say Y here and
12 also to your specific host controller driver.
Maxime Ripard4f780742015-10-15 22:04:05 +020013
Jean-Jacques Hiblotd0531672018-01-04 15:23:32 +010014config MMC_WRITE
15 bool "support for MMC/SD write operations"
16 depends on MMC
17 default y
18 help
19 Enable write access to MMC and SD Cards
20
Jaehoon Chung48ad8272021-02-16 10:16:52 +090021config MMC_PWRSEQ
22 bool "HW reset support for eMMC"
Jonas Karlmanf2ceb752024-01-27 17:12:35 +000023 depends on PWRSEQ && DM_GPIO
Jaehoon Chung48ad8272021-02-16 10:16:52 +090024 help
Jonas Karlmanf2ceb752024-01-27 17:12:35 +000025 This select Hardware reset support aka pwrseq-emmc for eMMC
Jaehoon Chung48ad8272021-02-16 10:16:52 +090026 devices.
27
Jonas Karlmanf2ceb752024-01-27 17:12:35 +000028config SPL_MMC_PWRSEQ
29 bool "HW reset support for eMMC in SPL"
30 depends on SPL_PWRSEQ && SPL_DM_GPIO
31 default y if MMC_PWRSEQ
32 help
33 This select Hardware reset support aka pwrseq-emmc for eMMC
34 devices in SPL.
35
Jun Nieb4f4f6e2018-01-02 12:25:57 +080036config MMC_BROKEN_CD
37 bool "Poll for broken card detection case"
38 help
39 If card detection feature is broken, just poll to detect.
40
Simon Glass1e8eb1b2015-06-23 15:38:48 -060041config DM_MMC
42 bool "Enable MMC controllers using Driver Model"
43 depends on DM
Tom Rini9b384002021-04-21 15:32:27 -040044 select BLK
Simon Glass1e8eb1b2015-06-23 15:38:48 -060045 help
Robert P. J. Day8d56db92016-07-15 13:44:45 -040046 This enables the MultiMediaCard (MMC) uclass which supports MMC and
Simon Glass1e8eb1b2015-06-23 15:38:48 -060047 Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
48 and non-removable (e.g. eMMC chip) devices are supported. These
49 appear as block devices in U-Boot and can support filesystems such
50 as EXT4 and FAT.
51
Simon Glass5f4bd8c2017-07-04 13:31:19 -060052config SPL_DM_MMC
53 bool "Enable MMC controllers using Driver Model in SPL"
54 depends on SPL_DM && DM_MMC
Pali Rohár3c5ce032022-05-24 10:58:42 +020055 default n if ARCH_MVEBU && !MVEBU_SPL_BOOT_DEVICE_MMC
Simon Glass5f4bd8c2017-07-04 13:31:19 -060056 default y
Oleksandr Suvorov5c59a672023-08-23 18:45:45 +030057 select SPL_BLK
Simon Glass5f4bd8c2017-07-04 13:31:19 -060058 help
59 This enables the MultiMediaCard (MMC) uclass which supports MMC and
60 Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
61 and non-removable (e.g. eMMC chip) devices are supported. These
62 appear as block devices in U-Boot and can support filesystems such
63 as EXT4 and FAT.
64
Masahiro Yamadae8b99722016-12-07 22:10:27 +090065if MMC
66
Michael Walle02016c62020-09-23 12:42:51 +020067config MMC_SDHCI_ADMA_HELPERS
68 bool
69
Bhargav Shaha1afe252019-07-08 04:10:48 +000070config MMC_SPI
71 bool "Support for SPI-based MMC controller"
72 depends on DM_MMC && DM_SPI
73 help
74 This selects SPI-based MMC controllers.
75 If you have an MMC controller on a SPI bus, say Y here.
76
77 If unsure, say N.
78
79config MMC_SPI_CRC_ON
80 bool "Support CRC for SPI-based MMC controller"
81 depends on MMC_SPI
82 default y
83 help
84 This enables CRC for SPI-based MMC controllers.
85
86 If unsure, say N.
87
Patrice Chotardfcce4202017-10-23 10:57:31 +020088config ARM_PL180_MMCI
89 bool "ARM AMBA Multimedia Card Interface and compatible support"
Patrice Chotardfcce4202017-10-23 10:57:31 +020090 help
91 This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
92 Interface (PL180, PL181 and compatible) support.
93 If you have an ARM(R) platform with a Multimedia Card slot,
Heinrich Schuchardtb8bcdeb2024-01-23 17:18:16 +010094 say Y here.
Patrice Chotardfcce4202017-10-23 10:57:31 +020095
Kishon Vijay Abraham I07baaa62017-09-21 16:30:10 +020096config MMC_QUIRKS
97 bool "Enable quirks"
98 default y
99 help
100 Some cards and hosts may sometimes behave unexpectedly (quirks).
101 This option enable workarounds to handle those quirks. Some of them
Joel Johnson9cbee2c2020-01-11 09:08:15 -0700102 are enabled by default, other may require additional flags or are
Kishon Vijay Abraham I07baaa62017-09-21 16:30:10 +0200103 enabled by the host driver.
104
Tom Rini91735482022-10-28 20:27:05 -0400105config SYS_MMC_MAX_BLK_COUNT
106 int "Block count limit"
107 default 65535
108 help
109 The block count limit on MMC based devices. We default to 65535 due
110 to a 16bit register limit on some hardware.
111
Jean-Jacques Hiblot1d7769a2017-11-30 17:44:02 +0100112config MMC_HW_PARTITIONING
113 bool "Support for HW partitioning command(eMMC)"
114 default y
115 help
116 This adds a command and an API to do hardware partitioning on eMMC
117 devices.
118
Alex Kiernan60e0f612018-05-08 04:43:31 +0000119config SUPPORT_EMMC_RPMB
120 bool "Support eMMC replay protected memory block (RPMB)"
121 imply CMD_MMC_RPMB
122 help
123 Enable support for reading, writing and programming the
124 key for the Replay Protection Memory Block partition in eMMC.
125
Alex Kiernan00848772019-05-01 07:58:27 +0000126config SUPPORT_EMMC_BOOT
127 bool "Support some additional features of the eMMC boot partitions"
128 help
129 Enable support for eMMC boot partitions. This also enables
130 extensions within the mmc command.
131
Jean-Jacques Hiblot6051e782017-11-30 17:44:01 +0100132config MMC_IO_VOLTAGE
133 bool "Support IO voltage configuration"
134 help
135 IO voltage configuration allows selecting the voltage level of the IO
136 lines (not the level of main supply). This is required for UHS
137 support. For eMMC this not mandatory, but not enabling this option may
138 prevent the driver of using the faster modes.
139
140config SPL_MMC_IO_VOLTAGE
141 bool "Support IO voltage configuration in SPL"
Tom Rini0a83cc22022-06-10 23:03:09 -0400142 depends on SPL_MMC
Jean-Jacques Hiblot6051e782017-11-30 17:44:01 +0100143 help
144 IO voltage configuration allows selecting the voltage level of the IO
145 lines (not the level of main supply). This is required for UHS
146 support. For eMMC this not mandatory, but not enabling this option may
147 prevent the driver of using the faster modes.
148
149config MMC_UHS_SUPPORT
150 bool "enable UHS support"
151 depends on MMC_IO_VOLTAGE
152 help
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)
156
157config SPL_MMC_UHS_SUPPORT
158 bool "enable UHS support in SPL"
159 depends on SPL_MMC_IO_VOLTAGE
160 help
161 The Ultra High Speed (UHS) bus is available on some SDHC and SDXC
162 cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus
163 frequency can go up to 208MHz (SDR104)
164
Peng Faneede83b2019-07-10 14:43:07 +0800165config MMC_HS400_ES_SUPPORT
166 bool "enable HS400 Enhanced Strobe support"
167 help
168 The HS400 Enhanced Strobe mode is support by some eMMC. The bus
169 frequency is up to 200MHz. This mode does not tune the IO.
170
171config SPL_MMC_HS400_ES_SUPPORT
172 bool "enable HS400 Enhanced Strobe support in SPL"
Tom Rini0a83cc22022-06-10 23:03:09 -0400173 depends on SPL_MMC
Peng Faneede83b2019-07-10 14:43:07 +0800174 help
175 The HS400 Enhanced Strobe mode is support by some eMMC. The bus
176 frequency is up to 200MHz. This mode does not tune the IO.
177
Peng Fan46801252018-08-10 14:07:54 +0800178config MMC_HS400_SUPPORT
179 bool "enable HS400 support"
180 select MMC_HS200_SUPPORT
181 help
182 The HS400 mode is support by some eMMC. The bus frequency is up to
183 200MHz. This mode requires tuning the IO.
184
185config SPL_MMC_HS400_SUPPORT
186 bool "enable HS400 support in SPL"
Tom Rini0a83cc22022-06-10 23:03:09 -0400187 depends on SPL_MMC
Faiz Abbas373954e2019-08-01 16:33:36 +0530188 select SPL_MMC_HS200_SUPPORT
Peng Fan46801252018-08-10 14:07:54 +0800189 help
190 The HS400 mode is support by some eMMC. The bus frequency is up to
191 200MHz. This mode requires tuning the IO.
192
Jean-Jacques Hiblot6051e782017-11-30 17:44:01 +0100193config MMC_HS200_SUPPORT
194 bool "enable HS200 support"
195 help
196 The HS200 mode is support by some eMMC. The bus frequency is up to
197 200MHz. This mode requires tuning the IO.
198
Jean-Jacques Hiblot6051e782017-11-30 17:44:01 +0100199config SPL_MMC_HS200_SUPPORT
200 bool "enable HS200 support in SPL"
Tom Rini0a83cc22022-06-10 23:03:09 -0400201 depends on SPL_MMC
Jean-Jacques Hiblot6051e782017-11-30 17:44:01 +0100202 help
203 The HS200 mode is support by some eMMC. The bus frequency is up to
204 200MHz. This mode requires tuning the IO.
205
Jean-Jacques Hiblota94fb412017-09-21 16:29:53 +0200206config MMC_VERBOSE
207 bool "Output more information about the MMC"
208 default y
209 help
210 Enable the output of more information about the card such as the
211 operating mode.
212
Jaehoon Chunge2bf5802018-01-26 19:25:31 +0900213config MMC_TRACE
214 bool "MMC debugging"
Jaehoon Chunge2bf5802018-01-26 19:25:31 +0900215 help
216 This is an option for use by developer. Enable MMC core debugging.
217
218 If you need to see the MMC core message, say Y.
219
Masahiro Yamadab2c88682017-01-10 13:32:07 +0900220config MMC_DAVINCI
221 bool "TI DAVINCI Multimedia Card Interface support"
222 depends on ARCH_DAVINCI
223 default y
224 help
225 This selects the TI DAVINCI Multimedia card Interface.
226 If you have an DAVINCI board with a Multimedia Card slot,
227 say Y here. If unsure, say N.
228
Masahiro Yamada7942e912017-01-10 13:32:04 +0900229config MMC_DW
230 bool "Synopsys DesignWare Memory Card Interface"
Philipp Tomsichb3027472018-11-30 22:13:25 +0100231 select BOUNCE_BUFFER
Masahiro Yamada7942e912017-01-10 13:32:04 +0900232 help
233 This selects support for the Synopsys DesignWare Mobile Storage IP
234 block, this provides host support for SD and MMC interfaces, in both
235 PIO, internal DMA mode and external DMA mode.
236
Arthur Li055e18e2020-02-20 18:19:35 -0800237config MMC_DW_CORTINA
238 bool "Cortina specific extensions for Synopsys DW Memory Card Interface"
239 depends on DM_MMC
240 depends on MMC_DW
241 depends on BLK
Arthur Li055e18e2020-02-20 18:19:35 -0800242 help
243 This selects support for Cortina SoC specific extensions to the
244 Synopsys DesignWare Memory Card Interface driver. Select this option
245 for platforms based on Cortina CAxxxx Soc's.
246
Masahiro Yamadaf1ad7282017-01-10 13:32:05 +0900247config MMC_DW_EXYNOS
248 bool "Exynos specific extensions for Synopsys DW Memory Card Interface"
249 depends on ARCH_EXYNOS
250 depends on MMC_DW
251 default y
252 help
253 This selects support for Samsung Exynos SoC specific extensions to the
254 Synopsys DesignWare Memory Card Interface driver. Select this option
255 for platforms based on Exynos4 and Exynos5 SoC's.
256
257config MMC_DW_K3
258 bool "K3 specific extensions for Synopsys DW Memory Card Interface"
259 depends on MMC_DW
260 help
261 This selects support for Hisilicon K3 SoC specific extensions to the
262 Synopsys DesignWare Memory Card Interface driver. Select this option
263 for platforms based on Hisilicon K3 SoC's.
264
Masahiro Yamadadc607f82017-01-10 13:32:03 +0900265config MMC_DW_ROCKCHIP
Simon Glass4ecaa6d2015-08-30 16:55:37 -0600266 bool "Rockchip SD/MMC controller support"
267 depends on DM_MMC && OF_CONTROL
Masahiro Yamada7942e912017-01-10 13:32:04 +0900268 depends on MMC_DW
Simon Glass4ecaa6d2015-08-30 16:55:37 -0600269 help
270 This enables support for the Rockchip SD/MMM controller, which is
271 based on Designware IP. The device is compatible with at least
272 SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
273 as removeable SD and micro-SD cards.
274
Masahiro Yamadaf1ad7282017-01-10 13:32:05 +0900275config MMC_DW_SOCFPGA
276 bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
277 depends on ARCH_SOCFPGA
278 depends on MMC_DW
279 default y
280 help
281 This selects support for Altera SOCFPGA specific extensions to the
282 Synopsys DesignWare Memory Card Interface driver. Select this option
283 for platforms based on Altera SOCFPGA.
284
Eugeniy Paltsevb050c2c2019-02-25 18:35:28 +0300285config MMC_DW_SNPS
286 bool "Extensions for DW Memory Card Interface used in Synopsys ARC devboards"
287 depends on MMC_DW
288 depends on DM_MMC
289 depends on OF_CONTROL
290 depends on CLK
291 help
292 This selects support for Synopsys DesignWare Memory Card Interface driver
293 extensions used in various Synopsys ARC devboards.
294
Stefan Bosch22c12f72020-07-10 19:07:29 +0200295config NEXELL_DWMMC
296 bool "Nexell SD/MMC controller support"
297 depends on ARCH_NEXELL
298 depends on MMC_DW
299 depends on DM_MMC
300 depends on PINCTRL_NEXELL
301 default y
302
Carlo Caione20cab782017-04-12 20:30:42 +0200303config MMC_MESON_GX
304 bool "Meson GX EMMC controller support"
Simon Glasseba48f92017-07-29 11:35:31 -0600305 depends on DM_MMC && BLK && ARCH_MESON
Carlo Caione20cab782017-04-12 20:30:42 +0200306 help
307 Support for EMMC host controller on Meson GX ARM SoCs platform (S905)
308
Masahiro Yamadab2c88682017-01-10 13:32:07 +0900309config MMC_MXC
310 bool "Freescale i.MX21/27/31 or MPC512x Multimedia Card support"
311 help
312 This selects the Freescale i.MX21, i.MX27, i.MX31 or MPC512x
313 Multimedia Card Interface. If you have an i.MX or MPC512x platform
314 with a Multimedia Card slot, say Y here.
315
316 If unsure, say N.
317
Amit Singh Tomar347494c2021-11-28 17:02:24 +0530318config MMC_OWL
319 bool "Actions OWL Multimedia Card Interface support"
320 depends on ARCH_OWL && DM_MMC && BLK
321 help
322 This selects the OWL SD/MMC host controller found on board
323 based on Actions S700/S900 SoC.
324
Masahiro Yamadab2c88682017-01-10 13:32:07 +0900325config MMC_MXS
326 bool "Freescale MXS Multimedia Card Interface support"
Adam Forda456d562018-02-06 08:34:45 -0600327 depends on MX23 || MX28 || MX6 || MX7
Philipp Tomsichb3027472018-11-30 22:13:25 +0100328 select BOUNCE_BUFFER
Adam Forda456d562018-02-06 08:34:45 -0600329 select APBH_DMA
330 select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7
331 select APBH_DMA_BURST8 if ARCH_MX6 || ARCH_MX7
Masahiro Yamadab2c88682017-01-10 13:32:07 +0900332 help
333 This selects the Freescale SSP MMC controller found on MXS based
334 platforms like mx23/28.
335
336 If unsure, say N.
337
Felipe Balbiecf7dfd2017-02-20 14:24:13 +0300338config MMC_PCI
339 bool "Support for MMC controllers on PCI"
Bin Meng3d81f022021-02-15 20:01:44 +0800340 depends on MMC_SDHCI
Felipe Balbiecf7dfd2017-02-20 14:24:13 +0300341 help
342 This selects PCI-based MMC controllers.
343 If you have an MMC controller on a PCI bus, say Y here.
344
Suneel Garapati40e61332019-10-19 18:03:01 -0700345config MMC_OCTEONTX
Stefan Roesee06f5522021-03-12 09:48:25 +0100346 bool "Marvell Octeon Multimedia Card Interface support"
347 depends on (ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2)
Suneel Garapati40e61332019-10-19 18:03:01 -0700348 depends on DM_MMC
349 help
Stefan Roesee06f5522021-03-12 09:48:25 +0100350 This selects the Octeon Multimedia card Interface.
351 If you have an OcteonTX/TX2 or MIPS Octeon board with a
352 Multimedia Card slot, say Y here.
Suneel Garapati40e61332019-10-19 18:03:01 -0700353
Felipe Balbiecf7dfd2017-02-20 14:24:13 +0300354 If unsure, say N.
355
Harm Berntsen7b9e5af2021-03-30 10:19:41 +0200356config MVEBU_MMC
357 bool "Kirkwood MMC controller support"
358 depends on DM_MMC && BLK && ARCH_KIRKWOOD
359 help
360 Support for MMC host controller on Kirkwood SoCs.
361 If you are on a Kirkwood architecture, say Y here.
362
363 If unsure, say N.
364
Masahiro Yamadab2c88682017-01-10 13:32:07 +0900365config MMC_OMAP_HS
366 bool "TI OMAP High Speed Multimedia Card Interface support"
Simon Glasseba48f92017-07-29 11:35:31 -0600367 select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
Jean-Jacques Hiblot4612bdd2017-09-21 17:03:10 +0200368 select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
Masahiro Yamadab2c88682017-01-10 13:32:07 +0900369 help
370 This selects the TI OMAP High Speed Multimedia card Interface.
371 If you have an omap2plus board with a Multimedia Card slot,
372 say Y here.
373
374 If unsure, say N.
375
Jean-Jacques Hiblotcebf0592018-02-23 10:40:18 +0100376config MMC_OMAP_HS_ADMA
377 bool "ADMA support for OMAP HS MMC"
378 depends on MMC_OMAP_HS && !OMAP34XX
379 default y if !AM33XX
380 help
381 This enables support for the ADMA2 controller (SDA3.00 Part A2 DMA
382 controller). If supported by the hardware, selecting this option will
383 increase performances.
384
Adam Fordef354962017-02-06 11:31:43 -0600385config MMC_OMAP36XX_PINS
386 bool "Enable MMC1 on OMAP36xx/37xx"
387 depends on OMAP34XX && MMC_OMAP_HS
388 help
389 This enables extended-drain in the MMC/SD/SDIO1I/O and
390 GPIO-associated I/O cells (gpio_126, gpio_127, and gpio_129)
391 specific to the OMAP36xx/37xx using MMC1
392
393 If you have a controller with this interface, say Y here.
394
395 If unsure, say N.
396
Tom Riniaf816552022-12-02 16:42:16 -0500397config HSMMC2_8BIT
398 bool "Enable 8-bit interface for eMMC (interface #2)"
399 depends on MMC_OMAP_HS && (OMAP44XX || OMAP54XX || DRA7XX || AM33XX || \
400 AM43XX || ARCH_KEYSTONE)
401
Marek Vasuta8624ac2018-04-21 17:40:20 +0200402config SH_MMCIF
403 bool "SuperH/Renesas ARM SoCs on-chip MMCIF host controller support"
Marek Vasut6468c4c2024-02-27 17:05:55 +0100404 depends on ARCH_RENESAS || SH
Marek Vasuta8624ac2018-04-21 17:40:20 +0200405 help
406 Support for the on-chip MMCIF host controller on SuperH/Renesas ARM SoCs platform
407
Masahiro Yamadaa0cfcc02016-02-18 19:52:48 +0900408config MMC_UNIPHIER
Marek Vasut2883f742017-09-23 13:30:30 +0200409 bool "UniPhier SD/MMC Host Controller support"
410 depends on ARCH_UNIPHIER
Simon Glasseba48f92017-07-29 11:35:31 -0600411 depends on BLK && DM_MMC
Masahiro Yamadac2326532016-12-30 23:20:14 +0900412 depends on OF_CONTROL
Masahiro Yamadaa0cfcc02016-02-18 19:52:48 +0900413 help
Marek Vasut847ee0c2017-07-21 23:24:36 +0200414 This selects support for the Matsushita SD/MMC Host Controller on
Marek Vasut2883f742017-09-23 13:30:30 +0200415 SocioNext UniPhier SoCs.
416
417config RENESAS_SDHI
418 bool "Renesas R-Car SD/MMC Host Controller support"
Marek Vasut6468c4c2024-02-27 17:05:55 +0100419 depends on ARCH_RENESAS
Marek Vasut2883f742017-09-23 13:30:30 +0200420 depends on BLK && DM_MMC
421 depends on OF_CONTROL
Marek Vasut9f7baeb2020-04-04 12:45:04 +0200422 select BOUNCE_BUFFER
Marek Vasut2883f742017-09-23 13:30:30 +0200423 help
424 This selects support for the Matsushita SD/MMC Host Controller on
425 Renesas R-Car SoCs.
Masahiro Yamadaa0cfcc02016-02-18 19:52:48 +0900426
Alexander Graf044725f2018-01-23 18:05:22 +0100427config MMC_BCM2835
428 bool "BCM2835 family custom SD/MMC Host Controller support"
429 depends on ARCH_BCM283X
430 depends on BLK && DM_MMC
431 depends on OF_CONTROL
432 default y
433 help
434 This selects support for the custom SD host controller in the BCM2835
435 family of devices.
436
437 If you have a BCM2835 platform with SD or MMC devices, say Y here.
438
439 If unsure, say N.
440
Paul Burton8e142842018-12-16 19:25:20 -0300441config JZ47XX_MMC
442 bool "Ingenic JZ47xx SD/MMC Host Controller support"
443 depends on ARCH_JZ47XX
444 help
445 This selects support for the SD Card Controller on Ingenic JZ47xx SoCs.
446
Masahiro Yamada54f7cfc2017-01-30 19:46:50 +0900447config MMC_SANDBOX
Simon Glassf9eebac2016-05-01 13:52:42 -0600448 bool "Sandbox MMC support"
Masahiro Yamada54f7cfc2017-01-30 19:46:50 +0900449 depends on SANDBOX
Simon Glasseba48f92017-07-29 11:35:31 -0600450 depends on BLK && DM_MMC && OF_CONTROL
Simon Glassf9eebac2016-05-01 13:52:42 -0600451 help
452 This select a dummy sandbox MMC driver. At present this does nothing
453 other than allow sandbox to be build with MMC support. This
454 improves build coverage for sandbox and makes it easier to detect
455 MMC build errors with sandbox.
456
Masahiro Yamada7db8c172016-12-07 22:10:28 +0900457config MMC_SDHCI
458 bool "Secure Digital Host Controller Interface support"
459 help
460 This selects the generic Secure Digital Host Controller Interface.
461 It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
462 and Toshiba(R). Most controllers found in laptops are of this type.
463
464 If you have a controller with this interface, say Y here.
465
466 If unsure, say N.
467
Masahiro Yamadabfd110f2016-12-07 22:10:30 +0900468config MMC_SDHCI_IO_ACCESSORS
469 bool
470 depends on MMC_SDHCI
471 help
472 This is silent Kconfig symbol that is selected by the drivers that
473 need to overwrite SDHCI IO memory accessors.
474
Masahiro Yamada124f6ce2016-12-07 22:10:29 +0900475config MMC_SDHCI_SDMA
476 bool "Support SDHCI SDMA"
477 depends on MMC_SDHCI
478 help
479 This enables support for the SDMA (Single Operation DMA) defined
480 in the SD Host Controller Standard Specification Version 1.00 .
481
Peter Geis4561ada2023-04-18 16:46:44 +0000482config SPL_MMC_SDHCI_SDMA
483 bool "Support SDHCI SDMA in SPL"
484 depends on SPL_MMC && MMC_SDHCI
485 default y if MMC_SDHCI_SDMA
486 help
487 This enables support for the SDMA (Single Operation DMA) defined
488 in the SD Host Controller Standard Specification Version 1.00 in SPL.
489
Faiz Abbas4c082a62019-04-16 23:06:58 +0530490config MMC_SDHCI_ADMA
491 bool "Support SDHCI ADMA2"
492 depends on MMC_SDHCI
Michael Walle02016c62020-09-23 12:42:51 +0200493 select MMC_SDHCI_ADMA_HELPERS
Faiz Abbas4c082a62019-04-16 23:06:58 +0530494 help
495 This enables support for the ADMA (Advanced DMA) defined
496 in the SD Host Controller Standard Specification Version 3.00
497
498config SPL_MMC_SDHCI_ADMA
499 bool "Support SDHCI ADMA2 in SPL"
Tom Rini0a83cc22022-06-10 23:03:09 -0400500 depends on SPL_MMC && MMC_SDHCI
Michael Walle02016c62020-09-23 12:42:51 +0200501 select MMC_SDHCI_ADMA_HELPERS
Faiz Abbas4c082a62019-04-16 23:06:58 +0530502 help
503 This enables support for the ADMA (Advanced DMA) defined
504 in the SD Host Controller Standard Specification Version 3.00 in SPL.
505
Chris Packham7d5d5912022-05-29 11:13:17 +1200506config FIXED_SDHCI_ALIGNED_BUFFER
507 hex "SDRAM address for fixed buffer"
508 depends on SPL && MVEBU_SPL_BOOT_DEVICE_MMC
509 default 0x00180000
510 help
511 On the Marvell Armada 38x when the SPL runs it located in internal
512 SRAM which is the L2 cache locked to memory. When the MMC buffers
513 are located on the stack (or bss), the SDIO controller (SDHCI) can't
514 write into this L2 cache memory.
515
516 This specifies the address of a fixed buffer located in SDRAM that
517 will be used for all SDHCI transfers in the SPL.
518
Eddie Jamesc8a65812019-08-27 09:48:03 -0500519config MMC_SDHCI_ASPEED
520 bool "Aspeed SDHCI controller"
521 depends on ARCH_ASPEED
522 depends on DM_MMC
523 depends on MMC_SDHCI
Joel Stanley818a6b52022-06-23 18:35:34 +0930524 select MISC
Eddie Jamesc8a65812019-08-27 09:48:03 -0500525 help
526 Enables support for the Aspeed SDHCI 2.0 controller present on Aspeed
527 SoCs. This device is compatible with SD 3.0 and/or MMC 4.3
528 specifications. On the AST2600, the device is also compatible with
529 MMC 5.1 and eMMC 3.0.
530
Masahiro Yamada8c1a1322017-01-30 19:46:55 +0900531config MMC_SDHCI_ATMEL
532 bool "Atmel SDHCI controller support"
533 depends on ARCH_AT91
Simon Glasseba48f92017-07-29 11:35:31 -0600534 depends on DM_MMC && BLK && ARCH_AT91
Masahiro Yamada8c1a1322017-01-30 19:46:55 +0900535 depends on MMC_SDHCI
536 help
537 This enables support for the Atmel SDHCI controller, which supports
538 the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
539 Memory Card Specification V3.0, and the SDIO V3.0 specification.
540 It is compliant with the SD Host Controller Standard V3.0
541 specification.
542
Masahiro Yamada124f6ce2016-12-07 22:10:29 +0900543config MMC_SDHCI_BCM2835
544 tristate "SDHCI support for the BCM2835 SD/MMC Controller"
545 depends on ARCH_BCM283X
546 depends on MMC_SDHCI
Masahiro Yamadabfd110f2016-12-07 22:10:30 +0900547 select MMC_SDHCI_IO_ACCESSORS
Masahiro Yamada124f6ce2016-12-07 22:10:29 +0900548 help
549 This selects the BCM2835 SD/MMC controller.
550
551 If you have a BCM2835 platform with SD or MMC devices,
552 say Y here.
553
554 If unsure, say N.
555
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400556config MMC_SDHCI_BCMSTB
557 tristate "SDHCI support for the BCMSTB SD/MMC Controller"
558 depends on MMC_SDHCI
559 help
560 This selects the Broadcom set-top box SD/MMC controller.
561
562 If you have a BCMSTB platform with SD or MMC devices,
563 say Y here.
564
565 If unsure, say N.
566
Masahiro Yamadadcbc4432016-12-30 22:41:46 +0900567config MMC_SDHCI_CADENCE
568 bool "SDHCI support for the Cadence SD/SDIO/eMMC controller"
Simon Glasseba48f92017-07-29 11:35:31 -0600569 depends on BLK && DM_MMC
Masahiro Yamadadcbc4432016-12-30 22:41:46 +0900570 depends on MMC_SDHCI
571 depends on OF_CONTROL
572 help
573 This selects the Cadence SD/SDIO/eMMC driver.
574
575 If you have a controller with this interface, say Y here.
576
577 If unsure, say N.
578
Kongyang Liu331ee412024-03-10 01:51:55 +0800579config MMC_SDHCI_CV1800B
580 bool "SDHCI support for the CV1800B SD/SDIO/eMMC controller"
581 depends on BLK && DM_MMC
582 depends on MMC_SDHCI
583 depends on OF_CONTROL
584 help
585 This selects the CV1800B SD/SDIO/eMMC driver.
586
587 If you have a controller with this interface,
588 say Y here.
589
590 If unsure, say N.
591
Faiz Abbasd8fb3092019-06-11 00:43:31 +0530592config MMC_SDHCI_AM654
593 bool "SDHCI Controller on TI's Am654 devices"
Lokesh Vutlabc9979f2018-08-27 15:57:54 +0530594 depends on ARCH_K3
595 depends on MMC_SDHCI
596 depends on DM_MMC && OF_CONTROL && BLK
Faiz Abbase9aed582019-06-11 00:43:38 +0530597 depends on REGMAP
Faiz Abbas36c8c5c2021-02-04 15:10:54 +0530598 select MMC_SDHCI_IO_ACCESSORS
Lokesh Vutlabc9979f2018-08-27 15:57:54 +0530599 help
Faiz Abbasd8fb3092019-06-11 00:43:31 +0530600 Support for Secure Digital Host Controller Interface (SDHCI)
601 controllers present on TI's AM654 SOCs.
Lokesh Vutlabc9979f2018-08-27 15:57:54 +0530602
Arun Parameswaran2f4f34a2019-09-12 11:06:08 -0700603config MMC_SDHCI_IPROC
604 bool "SDHCI support for the iProc SD/MMC Controller"
605 depends on MMC_SDHCI
606 help
607 This selects the iProc SD/MMC controller.
608
609 If you have a Broadcom IPROC platform with SD or MMC devices,
Heinrich Schuchardtb8bcdeb2024-01-23 17:18:16 +0100610 say Y here.
Arun Parameswaran2f4f34a2019-09-12 11:06:08 -0700611
612 If unsure, say N.
613
Jassi Brar8188bda2021-06-04 18:44:16 +0900614config MMC_SDHCI_F_SDH30
Kunihiko Hayashi2cd5da62022-09-09 16:23:33 +0900615 bool "SDHCI support for Fujitsu Semiconductor/Socionext F_SDH30"
Jassi Brar8188bda2021-06-04 18:44:16 +0900616 depends on BLK && DM_MMC
617 depends on MMC_SDHCI
618 help
619 This selects the Secure Digital Host Controller Interface (SDHCI)
Kunihiko Hayashi2cd5da62022-09-09 16:23:33 +0900620 Needed by some Fujitsu/Socionext SoC for MMC / SD / SDIO support.
Heinrich Schuchardtb8bcdeb2024-01-23 17:18:16 +0100621 If you have a controller with this interface, say Y here.
Jassi Brar8188bda2021-06-04 18:44:16 +0900622 If unsure, say N.
623
Masahiro Yamada124f6ce2016-12-07 22:10:29 +0900624config MMC_SDHCI_KONA
625 bool "SDHCI support on Broadcom KONA platform"
626 depends on MMC_SDHCI
627 help
628 This selects the Broadcom Kona Secure Digital Host Controller
629 Interface(SDHCI) support.
630 This is used in Broadcom mobile SoCs.
631
632 If you have a controller with this interface, say Y here.
633
Masahiro Yamadaa1262eb2017-01-30 19:46:53 +0900634config MMC_SDHCI_MSM
635 bool "Qualcomm SDHCI controller"
Simon Glasseba48f92017-07-29 11:35:31 -0600636 depends on BLK && DM_MMC
Masahiro Yamadaa1262eb2017-01-30 19:46:53 +0900637 depends on MMC_SDHCI
638 help
639 Enables support for SDHCI 2.0 controller present on some Qualcomm
640 Snapdragon devices. This device is compatible with eMMC v4.5 and
641 SD 3.0 specifications. Both SD and eMMC devices are supported.
642 Card-detect gpios are not supported.
643
Masahiro Yamada124f6ce2016-12-07 22:10:29 +0900644config MMC_SDHCI_MV
645 bool "SDHCI support on Marvell platform"
646 depends on ARCH_MVEBU
647 depends on MMC_SDHCI
Stefan Roesefb0720b2023-02-10 13:23:52 +0100648 depends on DM_MMC
Masahiro Yamada124f6ce2016-12-07 22:10:29 +0900649 help
650 This selects the Secure Digital Host Controller Interface on
651 Marvell platform.
652
653 If you have a controller with this interface, say Y here.
654
655 If unsure, say N.
656
Jim Liu29cf22c2022-05-24 16:55:33 +0800657config MMC_SDHCI_NPCM
658 bool "SDHCI support on Nuvoton NPCM device"
659 depends on MMC_SDHCI
660 depends on DM_MMC
661 help
662 This selects the Secure Digital Host Controller Interface (SDHCI)
663 on Nuvoton NPCM device.
664
665 If you have a controller with this interface, say Y here.
666
667 If unsure, say N.
668
Masahiro Yamadaf79df032017-01-30 19:46:54 +0900669config MMC_SDHCI_PIC32
670 bool "Microchip PIC32 on-chip SDHCI support"
671 depends on DM_MMC && MACH_PIC32
672 depends on MMC_SDHCI
673 help
674 Support for Microchip PIC32 SDHCI controller.
675
Masahiro Yamadababe0262017-01-30 19:46:52 +0900676config MMC_SDHCI_ROCKCHIP
677 bool "Arasan SDHCI controller for Rockchip support"
678 depends on ARCH_ROCKCHIP
Simon Glasseba48f92017-07-29 11:35:31 -0600679 depends on DM_MMC && BLK
Masahiro Yamadababe0262017-01-30 19:46:52 +0900680 depends on MMC_SDHCI
681 help
682 Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
683
Masahiro Yamada124f6ce2016-12-07 22:10:29 +0900684config MMC_SDHCI_S5P
685 bool "SDHCI support on Samsung S5P SoC"
686 depends on MMC_SDHCI
687 help
688 This selects the Secure Digital Host Controller Interface (SDHCI)
689 on Samsung S5P SoCs.
690
691 If you have a controller with this interface, say Y here.
692
693 If unsure, say N.
694
Patrice Chotard2eea7d82017-02-21 13:37:09 +0100695config MMC_SDHCI_STI
696 bool "SDHCI support for STMicroelectronics SoC"
Patrice Chotardcdf6b572017-02-21 13:37:11 +0100697 depends on MMC_SDHCI && OF_CONTROL
Patrice Chotard2eea7d82017-02-21 13:37:09 +0100698 help
699 This selects the Secure Digital Host Controller Interface (SDHCI)
700 on STMicroelectronics STiH410 SoC.
701
Stefan Roese121fc562016-12-09 15:03:28 +0100702config MMC_SDHCI_XENON
703 bool "SDHCI support for the Xenon SDHCI controller"
704 depends on MMC_SDHCI && DM_MMC && OF_CONTROL
705 help
706 Support for Xenon SDHCI host controller on Marvell Armada 3700
707 7k/8k ARM SoCs platforms
708
709 If you have a controller with this interface, say Y here.
710
711 If unsure, say N.
712
Felipe Balbib7567602017-02-20 14:24:14 +0300713config MMC_SDHCI_TANGIER
714 bool "Tangier SDHCI controller support"
715 depends on DM_MMC && BLK
716 depends on MMC_SDHCI
717 help
718 This selects support for SDHCI controller on Tanginer
719 SoC. Note that this controller does not sit on PCI bus and,
720 hence, cannot be enumerated by standard PCI means.
721
722 If you're using an Intel Tangier SoC (available on Intel
723 Edison board), say Y here.
724
725 If unsure, say N.
726
Masahiro Yamadab2c88682017-01-10 13:32:07 +0900727config MMC_SDHCI_TEGRA
728 bool "SDHCI platform support for the Tegra SD/MMC Controller"
Trevor Woerner513f6402020-05-06 08:02:41 -0400729 depends on ARCH_TEGRA
Philipp Tomsichb3027472018-11-30 22:13:25 +0100730 select BOUNCE_BUFFER
Masahiro Yamadab2c88682017-01-10 13:32:07 +0900731 default y
732 help
733 This selects the Tegra SD/MMC controller. If you have a Tegra
734 platform with SD or MMC devices, say Y here.
735
736 If unsure, say N.
737
Trent Piepho1bf56c32019-04-01 23:05:49 +0000738config TEGRA124_MMC_DISABLE_EXT_LOOPBACK
739 bool "Disable external clock loopback"
740 depends on MMC_SDHCI_TEGRA && TEGRA124
741 help
742 Disable the external clock loopback and use the internal one on SDMMC3
743 as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits
744 being set to 0xfffd according to the TRM.
745
746 TODO(marcel.ziswiler@toradex.com): Move to device tree controlled
747 approach once proper kernel integration made it mainline.
748
Masahiro Yamada168c57d2017-01-30 19:46:51 +0900749config MMC_SDHCI_ZYNQ
750 bool "Arasan SDHCI controller support"
Simon Glasseba48f92017-07-29 11:35:31 -0600751 depends on DM_MMC && OF_CONTROL && BLK
Masahiro Yamada168c57d2017-01-30 19:46:51 +0900752 depends on MMC_SDHCI
753 help
754 Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
755
Vipul Kumar62548002018-02-28 15:53:28 +0530756config ZYNQ_SDHCI_MAX_FREQ
757 int "Set the maximum frequency of the controller"
758 depends on MMC_SDHCI_ZYNQ
759 help
760 Set the maximum frequency of the controller.
761
Vipul Kumardcc14e32018-02-28 15:53:29 +0530762config ZYNQ_SDHCI_MIN_FREQ
763 int "Set the minimum frequency of the controller"
764 depends on MMC_SDHCI_ZYNQ
765 default 0
766 help
767 Set the minimum frequency of the controller.
768
Siva Durga Prasad Paladugua9a3d002019-05-27 14:33:14 +0530769config ZYNQ_HISPD_BROKEN
770 bool "High speed broken for Zynq SDHCI controller"
771 depends on MMC_SDHCI_ZYNQ
772 help
773 Set if high speed mode is broken.
774
Masahiro Yamadab2c88682017-01-10 13:32:07 +0900775config MMC_SUNXI
776 bool "Allwinner sunxi SD/MMC Host Controller support"
Samuel Holland6b0d0bc2022-04-10 00:13:34 -0500777 depends on ARCH_SUNXI
Masahiro Yamadab2c88682017-01-10 13:32:07 +0900778 default y
779 help
780 This selects support for the SD/MMC Host Controller on
781 Allwinner sunxi SoCs.
782
Maxime Ripard95e34702017-08-23 12:03:41 +0200783config MMC_SUNXI_HAS_NEW_MODE
784 bool
785 depends on MMC_SUNXI
786
Vasily Khoruzhickb198e2c2018-11-09 20:41:44 -0800787config MMC_SUNXI_HAS_MODE_SWITCH
788 bool
789 depends on MMC_SUNXI
790
Tianrui Wei8cfc7c52021-07-01 12:54:20 +0800791config MMC_PITON
792 bool "MMC support for OpenPiton SoC"
793 depends on DM_MMC && BLK
794 help
795 This selects support for the SD host controller on OpenPiton SoC.
796 Note that this SD controller directly exposes the contents of the
797 SD card as memory mapped, so there is no manual configuration
798 required
799
Wenyou Yang7a7a64c2017-04-13 10:29:22 +0800800config GENERIC_ATMEL_MCI
801 bool "Atmel Multimedia Card Interface support"
Simon Glasseba48f92017-07-29 11:35:31 -0600802 depends on DM_MMC && BLK && ARCH_AT91
Wenyou Yang7a7a64c2017-04-13 10:29:22 +0800803 help
804 This enables support for Atmel High Speed Multimedia Card Interface
805 (HSMCI), which supports the MultiMedia Card (MMC) Specification V4.3,
806 the SD Memory Card Specification V2.0, the SDIO V2.0 specification
807 and CE-ATA V1.1.
808
Patrice Chotardae19b812017-09-04 17:56:22 +0200809config STM32_SDMMC2
810 bool "STMicroelectronics STM32H7 SD/MMC Host Controller support"
Patrice Chotard4cb0ac92017-10-03 15:54:58 +0200811 depends on DM_MMC && BLK && OF_CONTROL
Patrice Chotardae19b812017-09-04 17:56:22 +0200812 help
813 This selects support for the SD/MMC controller on STM32H7 SoCs.
814 If you have a board based on such a SoC and with a SD/MMC slot,
Heinrich Schuchardtb8bcdeb2024-01-23 17:18:16 +0100815 say Y here.
Patrice Chotardae19b812017-09-04 17:56:22 +0200816
Rick Chencbb52972017-11-14 14:47:09 +0800817config FTSDC010
818 bool "Ftsdc010 SD/MMC controller Support"
819 help
820 This SD/MMC controller is present in Andestech SoCs which is based on Faraday IP.
821
Rick Chenc59a6fb2018-03-20 15:10:49 +0800822config FTSDC010_SDIO
823 bool "Support ftsdc010 sdio"
Rick Chenc59a6fb2018-03-20 15:10:49 +0800824 depends on FTSDC010
825 help
826 This can enable ftsdc010 sdio function.
827
developerdc5a9aa2018-11-15 10:08:04 +0800828config MMC_MTK
829 bool "MediaTek SD/MMC Card Interface support"
developer607faf72019-09-25 17:45:37 +0800830 depends on ARCH_MEDIATEK || ARCH_MTMIPS
developerdc5a9aa2018-11-15 10:08:04 +0800831 depends on BLK && DM_MMC
832 depends on OF_CONTROL
833 help
834 This selects the MediaTek(R) Secure digital and Multimedia card Interface.
Heinrich Schuchardtb8bcdeb2024-01-23 17:18:16 +0100835 If you have a machine with a integrated SD/MMC card reader, say Y here.
developerdc5a9aa2018-11-15 10:08:04 +0800836 This is needed if support for any SD/SDIO/MMC devices is required.
837 If unsure, say N.
838
Masahiro Yamadae8b99722016-12-07 22:10:27 +0900839endif
840
Tom Rini6fb86c12022-12-02 16:42:21 -0500841config FSL_SDHC_V2_3
842 bool
843
Mario Six41d7d972018-03-28 14:38:19 +0200844config FSL_ESDHC
845 bool "Freescale/NXP eSDHC controller support"
Tom Rini6fb86c12022-12-02 16:42:21 -0500846 select FSL_SDHC_V2_3 if ARCH_P1010 || ARCH_BSC9131 || ARCH_BSC9132 \
847 || ARCH_C29X
Mario Six41d7d972018-03-28 14:38:19 +0200848 help
Yangbo Lu982f4252019-06-21 11:42:27 +0800849 This selects support for the eSDHC (Enhanced Secure Digital Host
850 Controller) found on numerous Freescale/NXP SoCs.
851
Michael Walle081d4012020-10-12 10:07:14 +0200852config FSL_ESDHC_SUPPORT_ADMA2
853 bool "enable ADMA2 support"
854 depends on FSL_ESDHC
855 select MMC_SDHCI_ADMA_HELPERS
856 help
857 This enables support for the ADMA2 transfer mode. If supported by the
858 eSDHC it will allow 64bit DMA addresses.
859
Yangbo Luce884022020-05-19 11:06:44 +0800860config FSL_ESDHC_33V_IO_RELIABILITY_WORKAROUND
861 bool "enable eSDHC workaround for 3.3v IO reliability issue"
862 depends on FSL_ESDHC && DM_MMC
Yangbo Luce884022020-05-19 11:06:44 +0800863 help
864 When eSDHC operates at 3.3v, damage can accumulate in an internal
865 level shifter at a higher than expected rate. The faster the interface
866 runs, the more damage accumulates. This issue now is found on LX2160A
867 eSDHC1 for only SD card. The hardware workaround is recommended to use
868 an on-board level shifter that is 1.8v on SoC side and 3.3v on SD card
869 side. For boards without hardware workaround, this option could be
870 enabled, ensuring 1.8v IO voltage and disabling eSDHC if no card.
871 This option assumes no hotplug, and u-boot has to make all the way to
872 to linux to use 1.8v UHS-I speed mode if has card.
873
Yangbo Lue087cd62021-06-03 10:51:17 +0800874config FSL_ESDHC_VS33_NOT_SUPPORT
875 bool "3.3V power supply not supported"
876 depends on FSL_ESDHC
877 help
878 For eSDHC, power supply is through peripheral circuit. 3.3V support is
879 common. Select this if 3.3V power supply not supported.
880
Pali Rohár3a672d62022-05-11 20:27:13 +0200881config SYS_FSL_ESDHC_DEFAULT_BUS_WIDTH
882 int
883 depends on FSL_ESDHC
884 default 1
885
Tom Rinibdd47f32022-06-16 14:04:38 -0400886config ESDHC_DETECT_QUIRK
887 bool "QIXIS-based eSDHC quirk detection"
888 depends on FSL_ESDHC && FSL_QIXIS
889
Yangbo Lu982f4252019-06-21 11:42:27 +0800890config FSL_ESDHC_IMX
891 bool "Freescale/NXP i.MX eSDHC controller support"
892 help
893 This selects support for the i.MX eSDHC (Enhanced Secure Digital Host
894 Controller) found on numerous Freescale/NXP SoCs.
Mario Six41d7d972018-03-28 14:38:19 +0200895
Tom Rinidad332b2022-07-31 21:08:25 -0400896config SYS_FSL_ESDHC_HAS_DDR_MODE
897 bool "i.MX eSDHC controller supports DDR mode"
898 depends on FSL_ESDHC_IMX
899
Adam Ford01836582019-08-14 07:23:43 -0500900config FSL_USDHC
901 bool "Freescale/NXP i.MX uSDHC controller support"
Peng Fan29b31a52022-07-26 16:40:44 +0800902 depends on MX6 || MX7 ||ARCH_MX7ULP || IMX8 || IMX8M || IMX8ULP || IMX9 || IMXRT
Adam Ford01836582019-08-14 07:23:43 -0500903 select FSL_ESDHC_IMX
904 help
905 This enables the Ultra Secured Digital Host Controller enhancements
906
Tom Rinif8967f82022-12-02 16:42:22 -0500907config FSL_ESDHC_PIN_MUX
908 bool "Perform esdhc device-tree fixup"
909 depends on (FSL_ESDHC || FSL_ESDHC_IMX) && OF_LIBFDT
910
Nobuhiro Iwamatsu3ec5f862014-12-17 08:03:00 +0900911endmenu
York Sun097e3602016-12-28 08:43:42 -0800912
913config SYS_FSL_ERRATUM_ESDHC111
914 bool
915
916config SYS_FSL_ERRATUM_ESDHC13
917 bool
918
919config SYS_FSL_ERRATUM_ESDHC135
920 bool
921
922config SYS_FSL_ERRATUM_ESDHC_A001
923 bool
Michael Walle148dc612021-03-17 15:01:36 +0100924
925config SYS_FSL_ERRATUM_A011334
926 bool
Michael Walle7259dc52021-03-17 15:01:37 +0100927
928config SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND
929 bool