[U-Boot] [RFC] [UBOOT] [PATCH 0/4] DWC back port from Linux kernel

Dan Murphy dmurphy at ti.com
Fri Jun 21 20:27:41 CEST 2013


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

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/clocks.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/host/Makefile                |    2 +
 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           | 1957 +++++++++++++++++++++
 include/linux/usb/usb-mod-devicetable.h  |  131 ++
 include/usb.h                            |  119 +--
 include/usb/lin_gadget_compat.h          |   29 +-
 27 files changed, 9590 insertions(+), 212 deletions(-)




More information about the U-Boot mailing list