diff --git a/common/usb_storage.c b/common/usb_storage.c index 1411737bed8912180810c0e9cb239f4602a52bfa..ad08deae1637d85dfb55ce2614cda0149b4d8482 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