pá 24. 7. 2020 v 9:03 odesílatel Michal Simek <[email protected]> napsal: > > DT binding is saying that default value is 0 not -1 that's why fix it. > > Signed-off-by: Michal Simek <[email protected]> > --- > > Depends on https://lists.denx.de/pipermail/u-boot/2020-July/421231.html > --- > drivers/mmc/zynq_sdhci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c > index 6505527616d1..e9381b949307 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; > } > -- > 2.27.0 >
Applied. M -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

