summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2021-11-05 19:52:55 +0300
committerSimon Glass <sjg@chromium.org>2022-01-25 21:47:07 +0300
commit821ca608d81640f1ed10fc5540eb8df18dfa6679 (patch)
tree4036deb1e3065dcf71a00c60d0fa5cafcc26d87e /dts
parentc77504df687077284ed4fe1b46007e7d34fa7a53 (diff)
downloadu-boot-821ca608d81640f1ed10fc5540eb8df18dfa6679.tar.xz
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>
Diffstat (limited to 'dts')
0 files changed, 0 insertions, 0 deletions