summaryrefslogtreecommitdiff
path: root/include/usbdevice.h
diff options
context:
space:
mode:
authorShiraz Hashim <shiraz.hashim@st.com>2012-12-17 14:19:37 +0530
committerMarek Vasut <marex@denx.de>2013-03-16 21:12:02 +0100
commitb2caefbb3344ff5eece7d4b1f3d8e583951d2a20 (patch)
tree9417f472112932fead353de38f7d81a788747e53 /include/usbdevice.h
parent39fd6342a431abc0de786936eab87e731ba29cb7 (diff)
downloadu-boot-imx-b2caefbb3344ff5eece7d4b1f3d8e583951d2a20.zip
u-boot-imx-b2caefbb3344ff5eece7d4b1f3d8e583951d2a20.tar.gz
u-boot-imx-b2caefbb3344ff5eece7d4b1f3d8e583951d2a20.tar.bz2
usbtty: adapt buffers for large packet support
Increase buffer sizes at driver and tty level to accommodate kermit large packet support. Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Diffstat (limited to 'include/usbdevice.h')
-rw-r--r--include/usbdevice.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usbdevice.h b/include/usbdevice.h
index 3edaf8b..7037efd 100644
--- a/include/usbdevice.h
+++ b/include/usbdevice.h
@@ -475,7 +475,9 @@ typedef struct urb_link {
* function driver to inform it that data has arrived.
*/
-#define URB_BUF_SIZE 128 /* in linux we'd malloc this, but in u-boot we prefer static data */
+/* in linux we'd malloc this, but in u-boot we prefer static data */
+#define URB_BUF_SIZE 512
+
struct urb {
struct usb_endpoint_instance *endpoint;