usb: gadget: fastboot: add max-download-size variable
authorEric Nelson <eric.nelson@boundarydevices.com>
Tue, 30 Sep 2014 19:05:40 +0000 (12:05 -0700)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 12:50:44 +0000 (14:50 +0200)
commitc674a6660e9934cf332bb007726997b1c3686bf1
treebce40bb1d431f60a0d5d5e81acd68e77d6987601
parente206799370f77097a29577599960b7f123f61b8c
usb: gadget: fastboot: add max-download-size variable

Current Android Fastboot seems to use 'max-download-size' instead
of 'downloadsize' variable to indicate the maximum size of sparse
segments.

See function get_target_sparse_limit() in file fastboot/fastboot.c
in the AOSP:
 https://android.googlesource.com/platform/system/core/+/master

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
drivers/usb/gadget/f_fastboot.c