summaryrefslogtreecommitdiff
path: root/board/ti/panda/panda.c
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2013-10-11 02:27:57 +0400
committerMarek Vasut <marex@denx.de>2013-10-21 01:46:27 +0400
commit127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d (patch)
treedae3ff98422aaeeb5813efc572e6e9f7fa8554ab /board/ti/panda/panda.c
parent06d513ecb61a6711157707ebe10b968aacc0f2a8 (diff)
downloadu-boot-127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d.tar.xz
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 'board/ti/panda/panda.c')
-rw-r--r--board/ti/panda/panda.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c
index 3724e816c2..c104024b10 100644
--- a/board/ti/panda/panda.c
+++ b/board/ti/panda/panda.c
@@ -269,7 +269,8 @@ static struct omap_usbhs_board_data usbhs_bdata = {
.port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED,
};
-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)
{
int ret;
unsigned int utmi_clk;