diff options
author | Lucas Stach <dev@lynxeye.de> | 2012-09-26 00:14:37 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:54:00 -0700 |
commit | a896211ff11d6eba553df710168fcab2a1b2d9ec (patch) | |
tree | 53daff60d4495f2ac805c2f4a19f5689b1a41b5a /drivers | |
parent | 93c2582feaf88a899c2537698e91fbb58d488a5b (diff) | |
download | u-boot-imx-a896211ff11d6eba553df710168fcab2a1b2d9ec.zip u-boot-imx-a896211ff11d6eba553df710168fcab2a1b2d9ec.tar.gz u-boot-imx-a896211ff11d6eba553df710168fcab2a1b2d9ec.tar.bz2 |
tegra20: port to new ehci interface
EHCI interface now supports more than one controller. Wire up our usb functions
to use this new interface.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index bb5a68e..a1c43f8 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -57,7 +57,7 @@ int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor) * Select the first port, as we don't have a way of selecting others * yet */ - if (tegrausb_start_port(0, &our_hccr, &our_hcor)) + if (tegrausb_start_port(index, &our_hccr, &our_hcor)) return -1; *hccr = (struct ehci_hccr *)our_hccr; @@ -72,6 +72,5 @@ int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor) */ int ehci_hcd_stop(int index) { - tegrausb_stop_port(); - return 0; + return tegrausb_stop_port(index); } |