]> git.dujemihanovic.xyz Git - u-boot.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)
commit7274671e045ec78a0023949d99c26ae6b98b7a8e
treeabe7835416702615e945e158975fd1140adcebf0
parent1bdcd9019d576b2637393e0b1ec65eab67a7c82f
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