mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-17 23:37:01 +00:00
Merge branch 'master' of git://git.denx.de/u-boot-sh
This commit is contained in:
commit
26b068280f
2 changed files with 2 additions and 2 deletions
|
@ -374,7 +374,7 @@ static int renesas_sdhi_probe(struct udevice *dev)
|
|||
ret = tmio_sd_probe(dev, quirks);
|
||||
#if CONFIG_IS_ENABLED(MMC_HS200_SUPPORT)
|
||||
if (!ret)
|
||||
renesas_sdhi_reset_tuning(dev_get_priv(dev));
|
||||
renesas_sdhi_reset_tuning(priv);
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -97,7 +97,7 @@ static int rcar_gen2_pci_addr_valid(pci_dev_t d, uint offset)
|
|||
|
||||
/* Only one EHCI/OHCI device built-in */
|
||||
slot = PCI_DEV(d);
|
||||
if (slot > 2)
|
||||
if (slot != 1 && slot != 2)
|
||||
return -EINVAL;
|
||||
|
||||
/* bridge logic only has registers to 0x40 */
|
||||
|
|
Loading…
Add table
Reference in a new issue