]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: gadget: fastboot: explicitly set radix of maximum download size
authorEric Nelson <eric.nelson@boundarydevices.com>
Tue, 30 Sep 2014 19:05:41 +0000 (12:05 -0700)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 12:50:44 +0000 (14:50 +0200)
commit84c24f66c2971f2a4149f60228bfc08f29ba9d30
treed3f5e568ba258177da568a7c24ece08aa8d8018c
parentc674a6660e9934cf332bb007726997b1c3686bf1
usb: gadget: fastboot: explicitly set radix of maximum download size

The processing of the max-download-size variable requires a
radix specifier, or the fastboot host tool will interpret
it as an octal number.

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