[U-Boot] [PATCH V2 00/20] Make mv_udc work for i.mx6

Troy Kisky troy.kisky at boundarydevices.com
Fri Aug 2 00:18:17 CEST 2013


Hi Marek, Stefano


This series is based on u-boot-usb/master branch.
After this series, nitrogen6x works with tftpboot to transfer
files over usb.

This V2 is a rebase and most patches had to be changed slightly.
I also ran a ./MAKEALL -a arm and fixed the errors that the V1
series had.

The most noticeable change is the addition of

usb: gadget: mv_udc: fix hardware udc address for i.MX6

Let me know if you want to go back to a udc variable
to store the address instead of using hcor.


Stefano, would you like to take patches 1-5 ? 
I'll likely need a V3, but maybe the early ones
will be approved.

Thanks


Troy Kisky (20):
  Add functions for use with i.mx6 otg udc
  mx6: iomux: add GPR1 defines
  nitrogen6x: add otg usb ethernet gadget support
  nitrogen6x: add CONFIG_MV_UDC
  arch-mxs/sys_proto.h: include regs-common.h
  usb: gadget: mv_udc: fix hardware udc address for i.MX6
  usb: gadget: config: fix unaligned access issues
  usb: gadget: mv_udc: add MX6Q specific reset
  usb: gadget: ether set wMaxPacketSize
  usb: gadget: ether: return error from rx_submit if no request
  usb: gadget: mv_udc: split mv_udc.h file
  usb: udc: add udc.h include file
  usb: gadget: mv_udc: fix typo in error message
  usb: gadget: mv_udc: set is_dualspeed = 1
  usb: gadget: mv_udc: fix full speed connections
  usb: gadget: mv_udc: optimize bounce
  usb: gadget: mv_udc: flush item before head
  usb: gadget: mv_udc: optimize ep_enable
  usb: gadget: mv_udc: zero transfer descriptor memory on probe
  usb: gadget: mv_udc: clear desc upon ep_disable

 arch/arm/cpu/armv7/mx6/soc.c              |  47 ++++++++++
 arch/arm/include/asm/arch-mx6/crm_regs.h  |   3 +
 arch/arm/include/asm/arch-mx6/imx-regs.h  |  17 ++++
 arch/arm/include/asm/arch-mx6/iomux.h     |   6 ++
 arch/arm/include/asm/arch-mx6/sys_proto.h |   4 +
 arch/arm/include/asm/arch-mxs/sys_proto.h |   2 +
 board/boundary/nitrogen6x/nitrogen6x.c    |  16 ++++
 drivers/serial/usbtty.h                   |   3 +-
 drivers/usb/gadget/config.c               |   6 +-
 drivers/usb/gadget/designware_udc.c       |   1 +
 drivers/usb/gadget/ether.c                |   4 +
 drivers/usb/gadget/mpc8xx_udc.c           |   1 +
 drivers/usb/gadget/mv_udc.c               | 141 +++++++++++++++++++-----------
 drivers/usb/gadget/mv_udc.h               | 115 ++++++++++++++++++++++++
 drivers/usb/gadget/omap1510_udc.c         |   1 +
 drivers/usb/gadget/pxa27x_udc.c           |   1 +
 drivers/usb/musb/musb_udc.c               |   3 +-
 include/configs/nitrogen6x.h              |   6 ++
 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                |  27 +-----
 include/usb/pxa27x_udc.h                  |  26 +-----
 include/usb/udc.h                         |  63 +++++++++++++
 25 files changed, 389 insertions(+), 312 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

-- 
1.8.1.2



More information about the U-Boot mailing list