From: Ye Li Date: Fri, 25 Oct 2019 08:28:48 +0000 (-0700) Subject: MLK-22851-3 imx8mq: Enable eMMC HS400 and SD UHS mode on EVK X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~351 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=9f108b10361d3d76a6ce9213ffaaf4768ccf3f25;p=u-boot.git MLK-22851-3 imx8mq: Enable eMMC HS400 and SD UHS mode on EVK iMX8MQ EVK board has a eMMC5.0 chip and supports SD3.0, so enable the UHS and HS400 configs to enhance the eMMC/SD access. The change also needs to set usdhc clock to 400Mhz, and add the off-on-delay-us to SD reset pin, otherwise some SD cards will fail to select UHS mode in re-initialization. Signed-off-by: Ye Li (cherry picked from commit 57e1bc5f634be231b2bfd10cf0cbbff86dadd2e1) (cherry picked from commit ded7f2aa2354ef9f40a60bf333902437bf33a887) --- diff --git a/configs/imx8mq_evk_defconfig b/configs/imx8mq_evk_defconfig index b2ac5ba8f6..e09d391d9c 100644 --- a/configs/imx8mq_evk_defconfig +++ b/configs/imx8mq_evk_defconfig @@ -85,6 +85,9 @@ CONFIG_SF_DEFAULT_MODE=0 CONFIG_PHYLIB=y CONFIG_PHY_ATHEROS=y +CONFIG_MMC_IO_VOLTAGE=y +CONFIG_MMC_UHS_SUPPORT=y +CONFIG_MMC_HS400_SUPPORT=y CONFIG_DM_ETH=y CONFIG_PHY_GIGE=y CONFIG_FEC_MXC=y