summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-07-10 03:16:36 +0200
committerMarek Vasut <marex@denx.de>2013-07-29 23:01:32 +0200
commitab52df19c1195699516430be14b6be2d27229444 (patch)
treed63891da25f90250e2f7544e76dba09fb9ff469f /include
parentfe48f05817a0c44724b6e4c6af04c1843f387cea (diff)
downloadu-boot-imx-ab52df19c1195699516430be14b6be2d27229444.zip
u-boot-imx-ab52df19c1195699516430be14b6be2d27229444.tar.gz
u-boot-imx-ab52df19c1195699516430be14b6be2d27229444.tar.bz2
usb: mv_udc: Move QH and qTD into mv_drv
Both the endpoint queue head and the endpoint item list is a controller specific thing. Move them both into controller private data. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Lei Wen <leiwen@marvell.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/usb/mv_udc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/usb/mv_udc.h b/include/usb/mv_udc.h
index 4b8ad7e..a9869f0 100644
--- a/include/usb/mv_udc.h
+++ b/include/usb/mv_udc.h
@@ -75,6 +75,8 @@ struct mv_drv {
struct usb_gadget gadget;
struct usb_gadget_driver *driver;
struct ehci_ctrl *ctrl;
+ struct ept_queue_head *epts;
+ struct ept_queue_item *items[2 * NUM_ENDPOINTS];
struct mv_ep ep[NUM_ENDPOINTS];
};