diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2013-10-10 15:27:57 -0700 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-10-20 23:46:27 +0200 |
commit | 127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d (patch) | |
tree | dae3ff98422aaeeb5813efc572e6e9f7fa8554ab /drivers/usb/host/ehci-tegra.c | |
parent | 06d513ecb61a6711157707ebe10b968aacc0f2a8 (diff) | |
download | u-boot-imx-127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d.zip u-boot-imx-127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d.tar.gz u-boot-imx-127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d.tar.bz2 |
usb: ehci-hcd: add enum usb_init_type parameter to ehci_hcd_init.
This paramter will later be used to initialize OTG ports in
host or device mode.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'drivers/usb/host/ehci-tegra.c')
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index cc23133..0b42aa5 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -734,7 +734,8 @@ int usb_process_devicetree(const void *blob) * @param hcor returns start address of EHCI HCOR registers * @return 0 if ok, -1 on error (generally invalid port number) */ -int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor) +int ehci_hcd_init(int index, enum usb_init_type init, + struct ehci_hccr **hccr, struct ehci_hcor **hcor) { struct fdt_usb *config; struct usb_ctlr *usbctlr; |