diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2013-10-10 15:27:56 -0700 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-10-20 23:45:26 +0200 |
commit | 06d513ecb61a6711157707ebe10b968aacc0f2a8 (patch) | |
tree | e1820c550bf516040b5e57ea05f0ea124b8109df /common | |
parent | bba679144d25b91bcd7befff5a96728a30875f54 (diff) |
usb: add enum usb_init_type parameter to usb_lowlevel_init
This parameter will later be used to verify OTG ports.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb.c b/common/usb.c index 414f9c27fb..60daa10052 100644 --- a/common/usb.c +++ b/common/usb.c @@ -75,7 +75,7 @@ int usb_init(void) for (i = 0; i < CONFIG_USB_MAX_CONTROLLER_COUNT; i++) { /* init low_level USB */ printf("USB%d: ", i); - if (usb_lowlevel_init(i, &ctrl)) { + if (usb_lowlevel_init(i, USB_INIT_HOST, &ctrl)) { puts("lowlevel init failed\n"); continue; } |