diff options
author | vojo <joris.van.vossen@sintecs.nl> | 2018-02-07 12:36:58 (GMT) |
---|---|---|
committer | vojo <joris.van.vossen@sintecs.nl> | 2018-02-07 12:36:58 (GMT) |
commit | f3420047e97980b83d6549184d159a0a901881dc (patch) | |
tree | d098c20e2f60891b52e0961ad858b93e202f9bb4 /drivers/usb/host/xhci.c | |
parent | 9ca9f1eaaa6de0bd7684764cf46ca62a7be02abf (diff) | |
parent | f6b76fd828c6311dec9a84c2658033d98dd75eee (diff) | |
download | u-boot-f3420047e97980b83d6549184d159a0a901881dc.tar.xz |
Merge commit 'f6b76fd828c6311dec9a84c2658033d98dd75eee' into grapeboard
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r-- | drivers/usb/host/xhci.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index e64637b..67e29d9 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -773,6 +773,13 @@ static int xhci_submit_root(struct usb_device *udev, unsigned long pipe, tmpbuf[1] |= USB_PORT_STAT_SUPER_SPEED >> 8; break; } + +/* TODO: fix issue and remove the following code. Do not push upstream! */ +#if defined(CONFIG_TARGET_GRAPEBOARD) + if(!(tmpbuf[1] & (USB_PORT_STAT_SUPER_SPEED >> 8))) { + goto unknown; + } +#endif } if (reg & PORT_PE) tmpbuf[0] |= USB_PORT_STAT_ENABLE; |