summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-exynos.c
diff options
context:
space:
mode:
authorInderpal Singh <inderpal.singh@linaro.org>2014-01-08 09:19:57 +0530
committerMarek Vasut <marex@denx.de>2014-01-13 12:23:28 +0100
commit7da765125165c172078489336117f95de2904322 (patch)
tree897f312da42e3def08ce30fe12d56ab73591dcaf /drivers/usb/host/ehci-exynos.c
parent16f9480dfcac19f59fe9d7896b2af3bcbfc78f23 (diff)
downloadu-boot-imx-7da765125165c172078489336117f95de2904322.zip
u-boot-imx-7da765125165c172078489336117f95de2904322.tar.gz
u-boot-imx-7da765125165c172078489336117f95de2904322.tar.bz2
usb: exynos5: arndale: Add network support
Arndale board has AX88760, which is USB 2.0 Hub & USB 2.0 Ethernet Combo controller, connected to HSIC Phy of USB host controller via USB3503 hub. This patch uses board specific board_usb_init function to perform reset sequence for USB3503 hub and enables the relevant config options for network to work. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org> Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Diffstat (limited to 'drivers/usb/host/ehci-exynos.c')
-rw-r--r--drivers/usb/host/ehci-exynos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c
index 88e6466..9356878 100644
--- a/drivers/usb/host/ehci-exynos.c
+++ b/drivers/usb/host/ehci-exynos.c
@@ -203,6 +203,8 @@ int ehci_hcd_init(int index, enum usb_init_type init,
setup_usb_phy(ctx->usb);
+ board_usb_init(index, init);
+
*hccr = ctx->hcd;
*hcor = (struct ehci_hcor *)((uint32_t) *hccr
+ HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase)));