]> git.baikalelectronics.ru Git - uboot.git/commit
usb: hub: Support 'set hub depth' request for USB 3.0 hubs
authorBin Meng <bmeng.cn@gmail.com>
Wed, 19 Jul 2017 13:51:13 +0000 (21:51 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:32 +0000 (23:34 +0200)
commit3840ab806d3eae7e08f5d75fa294301aafaf4b5d
tree7f830c8505ce674333df40e3b03203339a644ac4
parent506db2774c671d0594da2c3fd81a43e3a1b03be1
usb: hub: Support 'set hub depth' request for USB 3.0 hubs

USB 3.0 hub uses a hub depth value multiplied by four as an offset
into the 'route string' to locate the bits it uses to determine the
downstream port number. We shall set the hub depth value of a USB
3.0 hub after it is configured.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/usb_hub.c
include/usb.h
include/usb_defs.h