blob: ced890c9abcb6cb9f2f06b430b51adf2d7946a3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef _USB_FASTBOOT_H
#define _USB_FASTBOOT_H
#include <linux/types.h>
#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 */
|