This patch series has been generated in an effort to get comments on the implementation of the dwc code within the uBoot.
V2 incorporates comments to first port the kernel header backward to uBoot and then produce the uBoot changes so the uBoot changes are easily distinguishable from the original kernel source. The first patch is the one of major concern as this patch will make an attempt to commonize the usb headers so that there is re-use and prepare the usb headers for future usb code back ports from the linux kernel. This code will compile for omap5 and omap4 but fails for am335x. Before I invest anymore time in this I would like to understand if there are any comments on the overall implemenation. Makefile | 1 + arch/arm/cpu/armv7/omap5/hw_data.c | 14 + arch/arm/cpu/armv7/omap5/prcm-regs.c | 1 + arch/arm/include/asm/arch-omap5/clock.h | 4 + arch/arm/include/asm/omap_common.h | 1 + common/cmd_usb.c | 6 +- drivers/usb/dwc3/Makefile | 53 + drivers/usb/dwc3/core.c | 847 ++++++++++ drivers/usb/dwc3/core.h | 974 +++++++++++ drivers/usb/dwc3/dwc3-omap.c | 505 ++++++ drivers/usb/dwc3/dwc3-omap.h | 41 + drivers/usb/dwc3/dwc3-uboot.c | 384 +++++ drivers/usb/dwc3/ep0.c | 1085 ++++++++++++ drivers/usb/dwc3/gadget.c | 2806 +++++++++++++++++++++++++++++++ drivers/usb/dwc3/gadget.h | 196 +++ drivers/usb/dwc3/host.c | 107 ++ drivers/usb/dwc3/io.h | 81 + drivers/usb/musb-new/musb_host.h | 1 + drivers/usb/musb-new/usb-compat.h | 30 - include/configs/omap5_common.h | 9 + include/linux/usb/gadget.h | 184 +- include/linux/usb/linux-compat.h | 234 +++ include/linux/usb/usb-compat.h | 1965 ++++++++++++++++++++++ include/linux/usb/usb-mod-devicetable.h | 131 ++ include/usb.h | 119 +- include/usb/lin_gadget_compat.h | 29 +- 26 files changed, 9596 insertions(+), 212 deletions(-) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot