u-boot/drivers/usb
Simon Glass 27f782b6a1 dm: usb: tegra: Store the controller type explicitly
At present the tegra driver uses a separate pointer to know which controller
type is in use. This works because only one controller type is used at a
time.

With driver model we want to make the controller state hermetic in the sense
that it is not necessary to look elsewhere to know the controller type. This
will permit a controller to implement the EHCI weak functions without
reference to global data structures.

To achieve this, define an enum for the controller type and store it with
the information on each EHCI controller.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
2015-04-18 11:11:23 -06:00
..
dwc3 usb: dwc3: Correct clean up code for requests 2015-04-14 05:48:12 +02:00
eth usb: eth: asix: Build warning fixes for 64-bit 2015-04-14 05:47:47 +02:00
gadget fastboot: add support for reboot-bootloader command 2015-04-14 10:19:05 +02:00
host dm: usb: tegra: Store the controller type explicitly 2015-04-18 11:11:23 -06:00
musb include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
musb-new dm: usb: Add a uclass for USB controllers 2015-04-18 11:11:20 -06:00
phy ti: dwc3: Enable clocks in enable_basic_clocks() in hw_data.c 2015-04-16 15:08:36 -04:00
ulpi drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
Kconfig dm: usb: Add a uclass for USB controllers 2015-04-18 11:11:20 -06:00