summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/usb_storage.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c
index 0345aa22ef..90f12c7ed1 100644
--- a/common/usb_storage.c
+++ b/common/usb_storage.c
@@ -18,6 +18,8 @@
* BBB support based on /sys/dev/usb/umass.c from
* FreeBSD.
*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -106,7 +108,7 @@ struct us_data {
* enough free heap space left, but the SCSI READ(10) and WRITE(10) commands are
* limited to 65535 blocks.
*/
-#define USB_MAX_XFER_BLK 65535
+#define USB_MAX_XFER_BLK 256
#else
#define USB_MAX_XFER_BLK 20
#endif