
On 04/16/2017 05:48 PM, Eddie Cai wrote:
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
What's the difference between these two series? [U-Boot PATCH V2 0/9] introduce Rockchip rockusb [U-Boot PATCH V2 0/8] introduce Rockchip rockusb
Eddie Cai (8): 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 ++++++++++++++++++++++----------- drivers/usb/gadget/storage_common.c | 238 ---------------------- include/f_mass_storage.h | 117 +++++++++++ 15 files changed, 797 insertions(+), 348 deletions(-) create mode 100644 cmd/rockusb.c create mode 100644 doc/README.rockusb delete mode 100644 drivers/usb/gadget/storage_common.c