rockusb is a protocol run between host pc and device. it help people get device info, flash image to device. this patch implement rockusb on device side.
Eddie Cai (9): usb: ums: split macro and data struct in storage_common.c usb: ums: split macro and data struct in f_mass_storage.c usb: ums: merge storage_common.c into f_mass_storage.c usb: ums: remove static declaration of some ums functions usb: ums: add functions to set and get usb interface descriptor usb: ums: add do_extra_command cmd: add rockusb command rockchip: config: enable rockusb support on rk3288 based board rockusb: add a simple readme cmd/Kconfig | 5 + cmd/Makefile | 1 + cmd/rockusb.c | 383 +++++++++++++++++++++ configs/evb-rk3288_defconfig | 2 + configs/fennec-rk3288_defconfig | 1 + configs/firefly-rk3288_defconfig | 1 + configs/miqi-rk3288_defconfig | 1 + configs/popmetal-rk3288_defconfig | 1 + configs/rock2_defconfig | 2 + configs/sandbox_defconfig | 1 + configs/tinker-rk3288_defconfig | 1 + doc/README.rockusb | 35 ++ drivers/usb/gadget/f_mass_storage.c | 356 +++++++++++++------ .../storage_common.c => include/f_mass_storage.h | 296 +++++----------- 14 files changed, 775 insertions(+), 311 deletions(-) create mode 100644 cmd/rockusb.c create mode 100644 doc/README.rockusb rename drivers/usb/gadget/storage_common.c => include/f_mass_storage.h (65%) -- 2.10.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot