
Hi Marek
This series is based on u-boot-usb/next branch. After this series, nitrogen6x works with tftpboot to transfer files over usb, and will recognize a usb stick in the OTG port.
This V6 has been rebased to the latest u-boot-usb/next branch and changed to address Marek comments.
The most noticeable change is the addition of patches to use enum usb_init_type.
Tested on a Nitrogen6x board with the following commands when connected to a USB2.0 hub and a USB1.1 hub
setenv ipaddr 10.0.0.2 && setenv netmask 255.255.255.0 && setenv serverip 10.0.0.1 setenv usbnet_devaddr 00:11:22:33:44:55 && setenv usbnet_hostaddr 00:aa:bb:cc:dd:ee setenv ethprime usb_ether && setenv ethact usb_ether && setenv ncip 10.0.0.1 tftpboot 10800000 10.0.0.1:uImage6w
The USB1.1 had a transfer rate of 687.5 KiB/s, the USB2.0 hub had a transfer rate of 5.4 MiB/s.
And by recognizing a usb stick in each port.
Troy Kisky (10): usb: rename board_usb_init_type to usb_init_type usb: add enum usb_init_type parameter to usb_lowlevel_init usb: ehci-hcd: add enum usb_init_type parameter to ehci_hcd_init. usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT usb: ehci-mx6: add support for otg port usb: gadget: mv_udc: fix full speed connections usb: gadget: mv_udc: optimize bounce usb: gadget: mv_udc: optimize ep_enable usb: gadget: mv_udc: split mv_udc.h file usb: udc: add udc.h include file
arch/mips/cpu/mips32/au1x00/au1x00_usb_ohci.c | 2 +- arch/powerpc/cpu/mpc5xxx/usb_ohci.c | 2 +- arch/powerpc/cpu/ppc4xx/usb_ohci.c | 2 +- arch/sparc/cpu/leon3/usb_uhci.c | 2 +- board/amcc/canyonlands/canyonlands.c | 4 +- board/balloon3/balloon3.c | 4 +- board/compulab/cm_t35/cm_t35.c | 3 +- board/esd/apc405/apc405.c | 4 +- board/esd/pmc440/pmc440.c | 4 +- board/htkw/mcx/mcx.c | 3 +- board/icpdas/lp8x4x/lp8x4x.c | 4 +- board/mpl/common/usb_uhci.c | 2 +- board/samsung/trats/trats.c | 2 +- board/technexion/twister/twister.c | 3 +- board/teejet/mt_ventoux/mt_ventoux.c | 3 +- board/ti/beagle/beagle.c | 3 +- board/ti/omap5_uevm/evm.c | 3 +- board/ti/panda/panda.c | 3 +- board/toradex/colibri_pxa270/colibri_pxa270.c | 4 +- board/trizepsiv/conxs.c | 4 +- board/vpac270/vpac270.c | 4 +- common/usb.c | 4 +- drivers/serial/usbtty.h | 3 +- drivers/usb/gadget/designware_udc.c | 1 + drivers/usb/gadget/mpc8xx_udc.c | 1 + drivers/usb/gadget/mv_udc.c | 101 +++++++++++-------- drivers/usb/gadget/mv_udc.h | 115 ++++++++++++++++++++++ drivers/usb/gadget/omap1510_udc.c | 1 + drivers/usb/gadget/pxa27x_udc.c | 1 + drivers/usb/host/ehci-armada100.c | 3 +- drivers/usb/host/ehci-atmel.c | 3 +- drivers/usb/host/ehci-exynos.c | 3 +- drivers/usb/host/ehci-faraday.c | 4 +- drivers/usb/host/ehci-fsl.c | 3 +- drivers/usb/host/ehci-hcd.c | 17 ++-- drivers/usb/host/ehci-ixp4xx.c | 3 +- drivers/usb/host/ehci-marvell.c | 3 +- drivers/usb/host/ehci-mpc512x.c | 3 +- drivers/usb/host/ehci-mx5.c | 3 +- drivers/usb/host/ehci-mx6.c | 134 ++++++++++++++++++-------- drivers/usb/host/ehci-mxc.c | 3 +- drivers/usb/host/ehci-mxs.c | 3 +- drivers/usb/host/ehci-pci.c | 4 +- drivers/usb/host/ehci-ppc4xx.c | 3 +- drivers/usb/host/ehci-spear.c | 3 +- drivers/usb/host/ehci-tegra.c | 3 +- drivers/usb/host/ehci-vct.c | 3 +- drivers/usb/host/ehci.h | 3 +- drivers/usb/host/isp116x-hcd.c | 2 +- drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-s3c24xx.c | 2 +- drivers/usb/host/r8a66597-hcd.c | 2 +- drivers/usb/host/sl811-hcd.c | 2 +- drivers/usb/host/xhci.c | 2 +- drivers/usb/musb-new/musb_uboot.c | 2 +- drivers/usb/musb/musb_hcd.c | 2 +- drivers/usb/musb/musb_udc.c | 3 +- include/configs/mx6qsabreauto.h | 3 +- include/configs/nitrogen6x.h | 3 +- include/usb.h | 28 +++--- include/usb/designware_udc.h | 31 ------ include/usb/mpc8xx_udc.h | 19 +--- include/usb/musb_udc.h | 40 -------- include/usb/mv_udc.h | 118 ----------------------- include/usb/omap1510_udc.h | 31 ++---- include/usb/pxa27x_udc.h | 26 +---- include/usb/udc.h | 53 ++++++++++ 67 files changed, 444 insertions(+), 423 deletions(-) create mode 100644 drivers/usb/gadget/mv_udc.h delete mode 100644 include/usb/musb_udc.h create mode 100644 include/usb/udc.h