summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/ci_udc.h
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2015-04-29 10:42:10 +0530
committerMarek Vasut <marex@denx.de>2015-05-29 12:41:04 +0200
commit6a132416359e36ed77b1319674d7ccb9c1a82694 (patch)
treea8e9eb6c4e5f0622564b8c6a71e00587f276da42 /drivers/usb/gadget/ci_udc.h
parent126ca9427417df12b492e938418ee7b5f096a757 (diff)
ci_udc: Update the ci_udc driver to support bulk transfers
Update the ci_udc driver to support bulk transfer and also added capability of having multiple dtds if requested data is more than 16K. These changes are tested for both the DFU and lthor. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Diffstat (limited to 'drivers/usb/gadget/ci_udc.h')
-rw-r--r--drivers/usb/gadget/ci_udc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/ci_udc.h b/drivers/usb/gadget/ci_udc.h
index 346164a641..95cc07992b 100644
--- a/drivers/usb/gadget/ci_udc.h
+++ b/drivers/usb/gadget/ci_udc.h
@@ -86,6 +86,7 @@ struct ci_req {
/* Buffer for the current transfer. Either req.buf/len or b_buf/len */
uint8_t *hw_buf;
uint32_t hw_len;
+ uint32_t dtd_count;
};
struct ci_ep {