summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-07-19 13:51:11 (GMT)
committerMarek Vasut <marex@denx.de>2017-07-28 21:34:30 (GMT)
commit46c1d49330fe21b3f9d2f7577ee4268248e7b666 (patch)
tree68584c48afb9880819e0b16eb985f047ce047092 /cmd
parenta199a7244899f6385035459cbc62409bd9bbcc23 (diff)
downloadu-boot-fsl-qoriq-46c1d49330fe21b3f9d2f7577ee4268248e7b666.tar.xz
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>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions