summaryrefslogtreecommitdiffstats
path: root/include/usb/fastboot.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-10-19 15:07:40 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-10-19 15:07:40 +0200
commita10a8e5e502fb5d5a6f945e208bd00a9bdeca5e2 (patch)
treecd4f007c081b7693424411cea71cb6c9e98ff379 /include/usb/fastboot.h
parent7f04124c149fa4d8e8f657907c581f10987003e2 (diff)
parent05761813eff43493ee0519f0699a396de3f007a5 (diff)
downloadbarebox-a10a8e5e502fb5d5a6f945e208bd00a9bdeca5e2.tar.gz
barebox-a10a8e5e502fb5d5a6f945e208bd00a9bdeca5e2.tar.xz
Merge branch 'for-next/usbgadget'
Diffstat (limited to 'include/usb/fastboot.h')
-rw-r--r--include/usb/fastboot.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/usb/fastboot.h b/include/usb/fastboot.h
index dab5a9a299..ced890c9ab 100644
--- a/include/usb/fastboot.h
+++ b/include/usb/fastboot.h
@@ -5,9 +5,16 @@
#include <file-list.h>
#include <usb/composite.h>
+/**
+ * struct f_fastboot_opts - options to configure the fastboot gadget
+ * @func_inst: The USB function instance to register on
+ * @files: A file_list containing the files (partitions) to export via fastboot
+ * @export_bbu: Automatically include the partitions provided by barebox update (bbu)
+ */
struct f_fastboot_opts {
struct usb_function_instance func_inst;
struct file_list *files;
+ bool export_bbu;
};
#endif /* _USB_FASTBOOT_H */