From b2caefbb3344ff5eece7d4b1f3d8e583951d2a20 Mon Sep 17 00:00:00 2001 From: Shiraz Hashim Date: Mon, 17 Dec 2012 14:19:37 +0530 Subject: 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 --- include/usbdevice.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/usbdevice.h b/include/usbdevice.h index 3edaf8bcc2..7037efd33e 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; -- cgit v1.2.3