diff options
author | vojo <joris.van.vossen@sintecs.nl> | 2018-01-29 14:56:18 (GMT) |
---|---|---|
committer | vojo <joris.van.vossen@sintecs.nl> | 2018-01-29 14:56:18 (GMT) |
commit | 0c521ff1a651585741317b4b4dfe99fd242dace2 (patch) | |
tree | c7f872464f0c360a25c5ab925ca06acd102aaecc /drivers | |
parent | b07fac8eed8edd5866cb67d5a653599ca5c7b877 (diff) | |
download | u-boot-0c521ff1a651585741317b4b4dfe99fd242dace2.tar.xz |
BCD data reading implemented
Diffstat (limited to 'drivers')
-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; |