]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps
authorAdam Ford <aford173@gmail.com>
Wed, 12 Jan 2022 13:53:56 +0000 (07:53 -0600)
committerStefano Babic <sbabic@denx.de>
Sat, 19 Feb 2022 13:46:54 +0000 (14:46 +0100)
commitc02ebe796fd3294c3e2ab556b8e95f46352840c2
treed683b5f3ac29cdb925f9333258e4f8b6936be84f
parent2eed995408c67cd9bf74c3d9a48741feb391bddd
mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps

The Linux driver automatically can detect and enable UHS, HS200, HS400
and HS400_ES automatically without extra flags being placed into the
device tree.

Right now, for U-Boot to use UHS, HS200 or HS400, the extra flags are
needed in the device tree.  Instead, go through the esdhc_soc_data
flags and enable the host caps where applicable to automatically
enable higher speeds.

Suggested-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/mmc/fsl_esdhc_imx.c