u-boot/drivers/usb
Sean Anderson 821ca608d8 usb: Use the first available device for ehci_gadget
For whatever reason, usb_setup_ehci_gadget removes and probes USB device
0. However, not all systems have a device 0. Use the first device
instead.

The device probed should probably have something to do with the
controller (as specified by e.g. ums <controller> or fastboot
<controller>). In fact, I find it odd that we probe the USB device in
the first place, because this is just to set up the gadget itself.
Presumably, the controller should be probed by usb_gadget_initialize
somehow.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-01-25 11:47:07 -07:00
..
cdns3 usb: cdns3: cdns3-ti: Add compatible for AM64 SoC 2021-11-17 17:09:47 -05:00
common usb: common: silence dubious errors 2021-11-09 17:18:23 +05:30
dwc3 usb: dwc3: add layerscape support 2021-11-09 17:18:23 +05:30
emul usb: Enforce DM_USB migration for USB_HOST devices. 2021-07-18 21:05:31 -04:00
eth WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
gadget SPL: Add struct spl_boot_device parameter into spl_parse_board_header() 2022-01-20 11:35:29 +01:00
host usb: Use the first available device for ehci_gadget 2022-01-25 11:47:07 -07:00
mtu3 usb: mtu3: flush cache for the first GPD when allocate GPD ring 2021-11-03 08:47:57 +01:00
musb drivers/usb/musb/musb_udc.c: Fix spelling of "mismatch". 2022-01-13 07:57:49 -05:00
musb-new doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
phy usb: phy: ti: Remove non-DM PHY code 2021-09-27 21:38:34 -04:00
ulpi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig usb: Enforce DM_USB migration for USB_HOST devices. 2021-07-18 21:05:31 -04:00