uboot/drivers/usb
Simon Glass 7372b5bd31 dm: usb: Refactor EHCI init
Move the bulk of the code in usb_lowlevel_init() into a separate function
which will also be used by driver model. Keep the CONFIG options out of
this function by providing a tweak flag for Faraday. We need to avoid using
CONFIG options in driver model code where possible, since it makes it
impossible to use multiple controllers in that code where they have
different options.

The CONFIG_EHCI_HCD_INIT_AFTER_RESET option is also kept out of the
common init function. With driver model the controller will be able to
perform this extra init itself after registering with the EHCI layer.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
2015-04-18 11:11:24 -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: Refactor EHCI init 2015-04-18 11:11:24 -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