]> git.ipfire.org Git - people/ms/u-boot.git/commit
usb: gadget: dfu: add functional descriptor in descriptor set
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 8 Dec 2016 17:10:49 +0000 (18:10 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 26 Feb 2017 12:24:30 +0000 (13:24 +0100)
commit8987012fe5a8bc226d1b3f5187c152b8d85a2dcd
tree7ba71d89b6c889ed5b514ed1edfae90a66e1082a
parent282b72082f68254edd9631c8c04354e0fb63c2f6
usb: gadget: dfu: add functional descriptor in descriptor set

The "DFU descriptor set" must contain the "DFU functional descriptor"
but it is missing today in U-Boot code
(cf: DFU spec 1.1, chapter 4.2 DFU Mode Descriptor Set)
This patch only allocate buffer and copy DFU functional descriptor
after interfaces.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
drivers/usb/gadget/f_dfu.c