summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-rcar.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-07-27 11:15:37 -0400
committerTom Rini <trini@konsulko.com>2020-07-27 11:15:37 -0400
commit4e05c167a756cbfb0a51ef09e52c8b5c7c4d6514 (patch)
tree0bcde687838471c17d331106b865eb4361237ed8 /drivers/usb/host/xhci-rcar.c
parent117c7ee283f1c3f49306fb11939b59fe11cbf5a8 (diff)
parent347e0f00e850028b4595287d5158c5a8f36ba910 (diff)
Merge tag 'dm-pull-20jul20-take2a' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
binman support for FIT new UCLASS_SOC patman switch 'test' command minor fdt fixes patman usability improvements
Diffstat (limited to 'drivers/usb/host/xhci-rcar.c')
-rw-r--r--drivers/usb/host/xhci-rcar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c
index 4964697f27..8fc51df3d1 100644
--- a/drivers/usb/host/xhci-rcar.c
+++ b/drivers/usb/host/xhci-rcar.c
@@ -136,7 +136,7 @@ static int xhci_rcar_ofdata_to_platdata(struct udevice *dev)
{
struct rcar_xhci_platdata *plat = dev_get_platdata(dev);
- plat->hcd_base = devfdt_get_addr(dev);
+ plat->hcd_base = dev_read_addr(dev);
if (plat->hcd_base == FDT_ADDR_T_NONE) {
debug("Can't get the XHCI register base address\n");
return -ENXIO;