summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/f_thor.h
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2018-05-10 10:52:15 +0900
committerMarek Vasut <marex@denx.de>2018-05-18 13:17:30 +0200
commit1fe9ae76b113103bcc40aa15949f9dd8aa0a06a2 (patch)
tree80d86ae54e7aa73f549529e20ad280640f6ab730 /drivers/usb/gadget/f_thor.h
parentf9e8dc0abda94869d2734843c1c14ba6f2867031 (diff)
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>
Diffstat (limited to 'drivers/usb/gadget/f_thor.h')
-rw-r--r--drivers/usb/gadget/f_thor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_thor.h b/drivers/usb/gadget/f_thor.h
index 47abc8aebd5..8ba3fa21b73 100644
--- a/drivers/usb/gadget/f_thor.h
+++ b/drivers/usb/gadget/f_thor.h
@@ -34,7 +34,7 @@ struct usb_cdc_attribute_vendor_descriptor {
__u8 DAUValue;
} __packed;
-#define VER_PROTOCOL_MAJOR 4
+#define VER_PROTOCOL_MAJOR 5
#define VER_PROTOCOL_MINOR 0
enum rqt {