The clock driver is too big for U-Boot SPL at the moment. In the meantime, continue mmc init even if it is not present.
Signed-off-by: Ferass El Hafidi <[email protected]> --- drivers/mmc/meson_gx_mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/meson_gx_mmc.c b/drivers/mmc/meson_gx_mmc.c index a4338f1e29c1da07acb0333be9b75a318cba1334..d83a79fa0894fc6a32c40642ebce5f845120efaf 100644 --- a/drivers/mmc/meson_gx_mmc.c +++ b/drivers/mmc/meson_gx_mmc.c @@ -332,11 +332,11 @@ static int meson_mmc_probe(struct udevice *dev) /* Enable the clocks feeding the MMC controller */ ret = clk_get_bulk(dev, &clocks); - if (ret) + if (ret && ret != -ENOSYS) return ret; ret = clk_enable_bulk(&clocks); - if (ret) + if (ret && ret != -ENOSYS) return ret; cfg->voltages = MMC_VDD_33_34 | MMC_VDD_32_33 | -- 2.51.0

