diff options
author | Tom Rini <trini@konsulko.com> | 2015-06-08 08:37:02 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-06-08 08:37:02 -0400 |
commit | 4d80051b63ff54f6b6f90fceb92cf87ab3401ecb (patch) | |
tree | aea5bee67c756558fc8c820b4ee04adb75c85146 /drivers/usb/host | |
parent | 5bcec545a6ca977ad74ee9fe0f2b335d348b5000 (diff) | |
parent | 943a3f2ccb71bcb4a6041bc2946129c4d4bb197e (diff) | |
download | u-boot-imx-4d80051b63ff54f6b6f90fceb92cf87ab3401ecb.zip u-boot-imx-4d80051b63ff54f6b6f90fceb92cf87ab3401ecb.tar.gz u-boot-imx-4d80051b63ff54f6b6f90fceb92cf87ab3401ecb.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ehci-vf.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c index 5454855..98e0fc6 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); |