summaryrefslogtreecommitdiff
path: root/common/image-android.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2019-09-16 01:16:25 +0300
committerMarek Vasut <marek.vasut+renesas@gmail.com>2019-10-31 14:13:40 +0300
commit7d6fd7f0ba71cd93d94079132f958d9630f27a89 (patch)
tree98a4e5d07ac06ee09010bc139266f2d125db6020 /common/image-android.c
parent067c13c70bfb99d25979b989870ed39eab34659a (diff)
downloadu-boot-7d6fd7f0ba71cd93d94079132f958d9630f27a89.tar.xz
usb: storage: Limit transfer size to 120 kiB
Due to constant influx of more and more weird and broken USB sticks, do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85 usb: storage: scsiglue: further describe our 240 sector limit Just so we have some sort of documentation as to why we limit our Mass Storage transfers to 240 sectors, let's update the comment to make clearer that devices were found that would choke with larger transfers. While at that, also make sure to clarify that other operating systems have similar, albeit different, limits on mass storage transfers. And reduce the maximum transfer length of USB storage to 120 kiB. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/image-android.c')
0 files changed, 0 insertions, 0 deletions