[U-Boot] Backport of DWC3 and xHCI stack from Linux kernel to uBoot

Dan Murphy
2013-07-02T15:15:06Z

This patch series has been generated in an effort to get comments on
the implementation of the dwc and xHCI code within the uBoot.

v3 series adds the xHCI back port from the linux kernel

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 +-
common/usb.c | 1 +
common/usb_hub.c | 1 +
drivers/usb/dwc3/Makefile | 53 +
drivers/usb/dwc3/core.c | 853 ++++++
drivers/usb/dwc3/core.h | 990 +++++++
drivers/usb/dwc3/dwc3-omap.c | 507 ++++
drivers/usb/dwc3/dwc3-omap.h | 41 +
drivers/usb/dwc3/dwc3-uboot.c | 384 +++
drivers/usb/dwc3/ep0.c | 1089 +++++++
drivers/usb/dwc3/gadget.c | 2819 ++++++++++++++++++
drivers/usb/dwc3/gadget.h | 196 ++
drivers/usb/dwc3/host.c | 108 +
drivers/usb/dwc3/io.h | 81 +
drivers/usb/host/Makefile | 7 +
drivers/usb/host/xhci-ext-caps.h | 167 ++
drivers/usb/host/xhci-hub.c | 1231 ++++++++
drivers/usb/host/xhci-mem.c | 2554 ++++++++++++++++
drivers/usb/host/xhci-plat.c | 207 ++
drivers/usb/host/xhci-ring.c | 4059 ++++++++++++++++++++++++++
drivers/usb/host/xhci.c | 4815 +++++++++++++++++++++++++++++++
drivers/usb/host/xhci.h | 1872 ++++++++++++
drivers/usb/musb-new/musb_host.h | 1 +
drivers/usb/musb-new/usb-compat.h | 30 -
include/asm-generic/scatterlist.h | 34 +
include/configs/omap5_common.h | 10 +
include/linux/usb/ch11.h | 279 ++
include/linux/usb/gadget.h | 184 +-
include/linux/usb/hcd.h | 680 +++++
include/linux/usb/linux-compat.h | 280 ++
include/linux/usb/usb-compat.h | 1965 +++++++++++++
include/linux/usb/usb-mod-devicetable.h | 131 +
include/usb.h | 153 +-
include/usb/lin_gadget_compat.h | 29 +-
39 files changed, 25593 insertions(+), 245 deletions(-)