summaryrefslogtreecommitdiff
path: root/drivers/mmc/Kconfig
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-05-11 20:27:13 +0200
committerPeng Fan <peng.fan@nxp.com>2022-06-20 15:52:45 +0800
commit8f3f8ba945f7e6b4225b2a5f171a64f7679bc8ba (patch)
tree0d73a57e0db3cfa4755673741ed31300ce04de7f /drivers/mmc/Kconfig
parenta29eb319a3f8ccfb657053b2941581fa1933974e (diff)
downloadu-boot-8f3f8ba945f7e6b4225b2a5f171a64f7679bc8ba.tar.gz
u-boot-8f3f8ba945f7e6b4225b2a5f171a64f7679bc8ba.tar.bz2
u-boot-8f3f8ba945f7e6b4225b2a5f171a64f7679bc8ba.zip
mmc: fsl_esdhc: Add new config option for default fallback mode
Currently default fallback SDHC mode is 1-bit. Add new config option CONFIG_SYS_FSL_ESDHC_DEFAULT_BUS_WIDTH to allow specifying default fallback mode. This is useful e.g. for SPL builds which loads other parts from SD card during boot process. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/mmc/Kconfig')
-rw-r--r--drivers/mmc/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index c8f9709d2d..5a87db6be0 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -839,6 +839,11 @@ config FSL_ESDHC_VS33_NOT_SUPPORT
For eSDHC, power supply is through peripheral circuit. 3.3V support is
common. Select this if 3.3V power supply not supported.
+config SYS_FSL_ESDHC_DEFAULT_BUS_WIDTH
+ int
+ depends on FSL_ESDHC
+ default 1
+
config FSL_ESDHC_IMX
bool "Freescale/NXP i.MX eSDHC controller support"
help