]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/gadget/ci_udc.h
usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED
[u-boot] / drivers / usb / gadget / ci_udc.h
index 23cff56d7ec92d7653ece4611db27cfa8c5ce7a7..346164a641329981b6c187dbdf44d609f36208cf 100644 (file)
@@ -97,10 +97,11 @@ struct ci_ep {
 
 struct ci_drv {
        struct usb_gadget               gadget;
+       struct ci_req                   *ep0_req;
+       bool                            ep0_data_phase;
        struct usb_gadget_driver        *driver;
        struct ehci_ctrl                *ctrl;
        struct ept_queue_head           *epts;
-       struct ept_queue_item           *items[2 * NUM_ENDPOINTS];
        uint8_t                         *items_mem;
        struct ci_ep                    ep[NUM_ENDPOINTS];
 };