summaryrefslogtreecommitdiff
path: root/common/usb.c
diff options
context:
space:
mode:
authorVivek Gautam <gautam.vivek@samsung.com>2013-04-12 16:34:38 +0530
committerMarek Vasut <marex@denx.de>2013-05-05 23:54:22 +0200
commit6497c66704d03956e7ea49b54fcaa38740736416 (patch)
tree409cd69a5d470bb5dd867d05df9b90aa82313e44 /common/usb.c
parent289f3cb28a3916b6c4c770db9a88463884be5b6c (diff)
downloadu-boot-imx-6497c66704d03956e7ea49b54fcaa38740736416.zip
u-boot-imx-6497c66704d03956e7ea49b54fcaa38740736416.tar.gz
u-boot-imx-6497c66704d03956e7ea49b54fcaa38740736416.tar.bz2
USB: SS: Add support for Super Speed USB interface
This adds usb framework support for super-speed usb, which will further facilitate to add stack support for xHCI. Signed-off-by: Vikas C Sajjan <vikas.sajjan@samsung.com> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Diffstat (limited to 'common/usb.c')
-rw-r--r--common/usb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/usb.c b/common/usb.c
index 3a96a34..55fff5b 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -409,6 +409,11 @@ static int usb_parse_config(struct usb_device *dev,
wMaxPacketSize);
debug("if %d, ep %d\n", ifno, epno);
break;
+ case USB_DT_SS_ENDPOINT_COMP:
+ if_desc = &dev->config.if_desc[ifno];
+ memcpy(&if_desc->ss_ep_comp_desc[epno],
+ &buffer[index], buffer[index]);
+ break;
default:
if (head->bLength == 0)
return 1;