From: Michal Simek Date: Wed, 22 Jul 2020 15:46:31 +0000 (+0200) Subject: mmc: zynq: Fix default value for xlnx,mio-bank X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=e8deb2218509ffe686601b7e51091407fda58fbf;p=u-boot.git mmc: zynq: Fix default value for xlnx,mio-bank DT binding is saying that default value is 0 not -1 that's why fix it. Signed-off-by: Michal Simek Acked-by: Peng Fan --- diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 6505527616..e9381b9493 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -276,7 +276,7 @@ static int arasan_sdhci_ofdata_to_platdata(struct udevice *dev) return PTR_ERR(priv->host->ioaddr); priv->deviceid = dev_read_u32_default(dev, "xlnx,device_id", -1); - priv->bank = dev_read_u32_default(dev, "xlnx,mio-bank", -1); + priv->bank = dev_read_u32_default(dev, "xlnx,mio-bank", 0); return 0; }