[U-Boot] [PATCH v3 0/7] Move Tegra EHCI drive to correct place

Lucas Stach dev at lynxeye.de
Thu Feb 7 18:16:23 CET 2013


This moves out the Tegra EHCI driver from a platform specific directory
to the standard driver/usb/host dir.

This is a preparation needed to share this driver between Tegra20 and
Tegra30. No functional change in here, so Tegra30 is still not working.

Patch 6 could be a lot smaller if it were generated with -B, as GIT would
detect that most of it is moving stuff over, but last time I did this it
prevented git apply to work. So sorry for the big diff.

I think I incorporated all changes needed to reflect the review feedback
I got on this last time.

V3 is rebased onto u-boot-tegra/next, fixes a build warning and has Simons
acked-by attached to the patches.

I expect this series to go in through the Tegra tree. Marek, I suppose you
are OK with the series, as you already were about to apply them in V2 form,
please ACK so Tom can pick them up.

Lucas Stach (7):
  tegra: usb: set USB_PORTS_MAX to correct value
  tegra: usb: make controller init functions more self contained
  tegra: usb: remove unneeded function parameter
  tegra: usb: move controller init into start_port
  tegra: usb: various small cleanups
  tegra: usb: move implementation into right directory
  tegra: usb: move [start|stop]_port into ehci_hcd_[init|stop]

 arch/arm/cpu/armv7/tegra20/Makefile       |   1 -
 arch/arm/cpu/armv7/tegra20/usb.c          | 567 ------------------------------
 arch/arm/include/asm/arch-tegra/usb.h     | 249 +++++++++++++
 arch/arm/include/asm/arch-tegra20/tegra.h |   1 -
 arch/arm/include/asm/arch-tegra20/usb.h   | 271 --------------
 arch/arm/include/asm/arch-tegra30/tegra.h |   2 +
 board/nvidia/common/board.c               |   2 +-
 drivers/usb/host/ehci-tegra.c             | 546 +++++++++++++++++++++++++++-
 8 files changed, 782 insertions(+), 857 deletions(-)
 delete mode 100644 arch/arm/cpu/armv7/tegra20/usb.c
 create mode 100644 arch/arm/include/asm/arch-tegra/usb.h
 delete mode 100644 arch/arm/include/asm/arch-tegra20/usb.h

-- 
1.8.1



More information about the U-Boot mailing list