path: root/common/usbgadget.c
Commit message (Collapse)AuthorAgeFilesLines
* usbgadget: autostart: add DFU supportLadislav Michl2018-10-291-0/+144
Use global variable dfu_function to autostart DFU. As similar code is used to start multifunction gadget using command, move common code to common/usbgadget.c and consolidate it. It turned out that '-s' option of usbgadget command does nothing, so remove its help text and make it function as '-a'. Signed-off-by: Ladislav Michl <> Signed-off-by: Sascha Hauer <>