From 3d5080aae90dffa3e3ea702f2efef8c5f9aaf372 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 17 Jul 2014 07:25:19 +0200 Subject: USB: gadget: Add Android fastboot support The Android fastboot protocol Can be used to update firmware and to issue other lowlevel commands to the bootloader. This adds a fastboot implementation based on the U-Boot fatboot code. Signed-off-by: Sascha Hauer --- include/usb/fastboot.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/usb/fastboot.h (limited to 'include/usb/fastboot.h') diff --git a/include/usb/fastboot.h b/include/usb/fastboot.h new file mode 100644 index 0000000000..dab5a9a299 --- /dev/null +++ b/include/usb/fastboot.h @@ -0,0 +1,13 @@ +#ifndef _USB_FASTBOOT_H +#define _USB_FASTBOOT_H + +#include +#include +#include + +struct f_fastboot_opts { + struct usb_function_instance func_inst; + struct file_list *files; +}; + +#endif /* _USB_FASTBOOT_H */ -- cgit v1.2.3