summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-06-08 08:37:02 -0400
committerTom Rini <trini@konsulko.com>2015-06-08 08:37:02 -0400
commit4d80051b63ff54f6b6f90fceb92cf87ab3401ecb (patch)
treeaea5bee67c756558fc8c820b4ee04adb75c85146 /drivers/usb
parent5bcec545a6ca977ad74ee9fe0f2b335d348b5000 (diff)
parent943a3f2ccb71bcb4a6041bc2946129c4d4bb197e (diff)
downloadtalos-obmc-uboot-4d80051b63ff54f6b6f90fceb92cf87ab3401ecb.tar.gz
talos-obmc-uboot-4d80051b63ff54f6b6f90fceb92cf87ab3401ecb.zip
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ehci-vf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c
index 54548554df..98e0fc6ca6 100644
--- a/drivers/usb/host/ehci-vf.c
+++ b/drivers/usb/host/ehci-vf.c
@@ -121,6 +121,11 @@ static void usb_oc_config(int index)
setbits_le32(ctrl, UCTRL_OVER_CUR_DIS);
}
+int __weak board_ehci_hcd_init(int port)
+{
+ return 0;
+}
+
int ehci_hcd_init(int index, enum usb_init_type init,
struct ehci_hccr **hccr, struct ehci_hcor **hcor)
{
@@ -136,6 +141,9 @@ int ehci_hcd_init(int index, enum usb_init_type init,
ehci = (struct usb_ehci *)nc_reg_bases[index];
+ /* Do board specific initialisation */
+ board_ehci_hcd_init(index);
+
usb_power_config(index);
usb_oc_config(index);
usb_internal_phy_clock_gate(index);
OpenPOWER on IntegriCloud