]> git.sur5r.net Git - u-boot/commit
gadget: f_thor: update to support more than 4GB file as thor 5.0
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 10 May 2018 01:52:15 +0000 (10:52 +0900)
committerMarek Vasut <marex@denx.de>
Fri, 18 May 2018 11:17:30 +0000 (13:17 +0200)
commit1fe9ae76b113103bcc40aa15949f9dd8aa0a06a2
tree80d86ae54e7aa73f549529e20ad280640f6ab730
parentf9e8dc0abda94869d2734843c1c14ba6f2867031
gadget: f_thor: update to support more than 4GB file as thor 5.0

During file download, it only uses 32bit variable for file size and
it limits maximum file size less than 4GB. Update to support more
than 4GB file with using two 32bit variables for file size as thor
protocol 5.0.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/usb/gadget/f_thor.c
drivers/usb/gadget/f_thor.h