[U-Boot] fsl_esdhc driver is broken with DM
Fabio Estevam
festevam at gmail.com
Sun Oct 1 19:13:57 UTC 2017
On Sun, Oct 1, 2017 at 12:50 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Tom,
>
> On Sun, Oct 1, 2017 at 11:49 AM, Tom Rini <trini at konsulko.com> wrote:
>
>>> Same regression is observed with mx7dsabresd board as well.
>>
>> It's likely to be all i.MX :(
>
> Only the i.MX configs with CONFIG_DM_MMC=y.
mx6slevk_spl_defconfig does not have CONFIG_DM_MMC selected and it is
also broken since 2017.05 due to this commit:
commit 001cdbbb32ef1f62f5913f2913eab49e3270ee7b
Author: Peng Fan <peng.fan at nxp.com>
Date: Sat Mar 4 10:45:44 2017 +0800
imx: mx6slevk: enable more DM drivers
Enable more DM drivers. The imx I2C/MMC DM drivers needs DM_GPIO
enabled. So needs to enable them together.
DM FEC and SPI are not enabled, but they use gpio in board code.
So use gpio_request first to request the gpio, because DM_GPIO
is enabled.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
Cc: Stefano Babic <sbabic at denx.de>
I managed to fix it and will submit a fix for it.
mx6slevk_defconfig which has CONFIG_DM_MMC=y is still broken though
and not sure how to fix it.
More information about the U-Boot
mailing list