Use f_max provided in mmc_config and remove it from the platform specific data.
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com> Tested-by: Lokesh Vutla <lokeshvu...@ti.com> --- drivers/mmc/am654_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index cd7ad03479..b9a7924d4e 100644 --- a/drivers/mmc/am654_sdhci.c +++ b/drivers/mmc/am654_sdhci.c @@ -67,7 +67,6 @@ struct am654_sdhci_plat { struct mmc_config cfg; struct mmc mmc; - unsigned int f_max; struct regmap *base; bool non_removable; u32 otap_del_sel; @@ -193,6 +192,7 @@ static int am654_sdhci_probe(struct udevice *dev) struct am654_sdhci_plat *plat = dev_get_platdata(dev); struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); struct sdhci_host *host = dev_get_priv(dev); + struct mmc_config *cfg = &plat->cfg; struct power_domain sdhci_pwrdmn; struct clk clk; unsigned long clock; -- 2.19.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot