]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx8mq: Enable eMMC HS400 and SD UHS mode on EVK
authorYe Li <ye.li@nxp.com>
Fri, 25 Oct 2019 08:28:48 +0000 (01:28 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 11:46:21 +0000 (13:46 +0200)
commit15a7426045ba048bb4defe49b1cae885bffb1853
treec28df194960b54777f49f026351ad0c0e8957fb8
parent6b87b3f4dc587aeb6424b7f5b426d7609ad3d4ba
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.

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/clock_imx8mq.c