diff options
author | Tom Rini <trini@konsulko.com> | 2015-12-17 21:46:04 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-12-17 21:46:04 -0500 |
commit | 123b70177931a5aed92beca76bb622b2f4005be8 (patch) | |
tree | 83955f114744e2450e828ee5a183962287f43038 /drivers/usb/host/ehci-exynos.c | |
parent | 9cddb4fe0266484aab9babdd2ebe650021644ea9 (diff) | |
parent | e4b70d80350c1238fa07872d71c19e3ddbf53b76 (diff) | |
download | u-boot-imx-123b70177931a5aed92beca76bb622b2f4005be8.zip u-boot-imx-123b70177931a5aed92beca76bb622b2f4005be8.tar.gz u-boot-imx-123b70177931a5aed92beca76bb622b2f4005be8.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'drivers/usb/host/ehci-exynos.c')
-rw-r--r-- | drivers/usb/host/ehci-exynos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c index 18e9251..bede04b 100644 --- a/drivers/usb/host/ehci-exynos.c +++ b/drivers/usb/host/ehci-exynos.c @@ -219,14 +219,14 @@ static int ehci_usb_probe(struct udevice *dev) ctx->hcd = (struct ehci_hccr *)plat->hcd_base; ctx->usb = (struct exynos_usb_phy *)plat->phy_base; - hcor = (struct ehci_hcor *)((uint32_t)ctx->hcd + - HC_LENGTH(ehci_readl(&ctx->hcd->cr_capbase))); /* setup the Vbus gpio here */ if (dm_gpio_is_valid(&plat->vbus_gpio)) dm_gpio_set_value(&plat->vbus_gpio, 1); setup_usb_phy(ctx->usb); + hcor = (struct ehci_hcor *)((uint32_t)ctx->hcd + + HC_LENGTH(ehci_readl(&ctx->hcd->cr_capbase))); return ehci_register(dev, ctx->hcd, hcor, NULL, 0, USB_INIT_HOST); } |