u-boot-2016/drivers/usb
Bin Meng b09471d0e0 usb: hub: Add a new API to test if a hub device is root hub
Sometimes we need know if a given hub device is root hub or not.
Add a new API to test this. This removes the xHCI driver's own
version is_root_hub() and change to use the new API.

While we are here, remove the unused/commented out get_usb_device()
in the xHCI driver too.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
(cherry picked from commit 46c1d49330)
Signed-off-by: Santan Kumar <santank@codeaurora.org>

Change-Id: Ia27ee3b541f936e3eebf6ecb57c3499c08da3781
2018-06-05 15:21:48 +05:30
..
dwc3 usb: dwc3: fix build warnings 2015-12-07 00:14:59 +01:00
emul usb: hub: Change USB hub descriptor to match USB 3.0 hubs 2018-06-05 15:21:39 +05:30
eth driver: usb: Fix pointer conversion warnings for hikey 2015-11-12 15:59:00 -05:00
gadget usb: s3c-otg: Rename usb/s3c_udc.h to usb/dwc2_udc.h 2015-12-17 21:54:41 +01:00
host usb: hub: Add a new API to test if a hub device is root hub 2018-06-05 15:21:48 +05:30
musb usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
musb-new usb: musb: Fix hub port setting for SPLIT transactions 2015-12-31 16:16:30 +01:00
phy usb: xhci: omap: Remove common dwc3 drv functions calls 2015-07-22 08:55:44 +02:00
ulpi drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
Kconfig usb: musb-new: Kconfig support for USB_MUSB_HOST and USB_MUSB_GADGET 2015-08-05 17:20:34 +02:00