]> git.baikalelectronics.ru Git - uboot.git/commit
usb: xhci: Get rid of CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS
authorBin Meng <bmeng.cn@gmail.com>
Wed, 19 Jul 2017 13:50:03 +0000 (21:50 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:22 +0000 (23:34 +0200)
commit289ea22657a21a21b0b7cf66f0d48c31ec0862fd
treeabe7835416702615e945e158975fd1140adcebf0
parent36314c1ce57c4d411d43a514f350c7bcf53a2bcd
usb: xhci: Get rid of CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS

xHC reports supported maximum number of ports in the HCSPARAMS1
register, so it's unnecessary to use a hardcoded config option
CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h