[U-Boot] [PATCH 1/7] usb: increase USB descriptor buffer size

Stefan Brüns stefan.bruens at rwth-aachen.de
Sun Dec 13 05:47:18 CET 2015


The configuration descriptor includes all interface, endpoint and
auxiliary descriptors (e.g. report, union) so 512 may not be enough.

Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>
---
 common/usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/usb.c b/common/usb.c
index 700bfc3..c276bf2 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -41,7 +41,7 @@
 #include <asm/4xx_pci.h>
 #endif
 
-#define USB_BUFSIZ	512
+#define USB_BUFSIZ	1024
 
 static int asynch_allowed;
 char usb_started; /* flag for the started/stopped USB status */
-- 
2.1.4



More information about the U-Boot mailing list