summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1411737..ad08dea 100644
--- a/common/usb_storage.c
+++ b/common/usb_storage.c
@@ -16,6 +16,8 @@
* BBB support based on /sys/dev/usb/umass.c from
* FreeBSD.
*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -138,7 +140,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