[U-Boot] [PATCH 11/20] usb: xhci: Get rid of CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS

Simon Glass sjg at chromium.org
Sat Jun 17 03:44:07 UTC 2017


On 16 June 2017 at 07:31, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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 at gmail.com>
> ---
>
>  drivers/usb/host/xhci.c | 8 +++++---
>  drivers/usb/host/xhci.h | 4 +---
>  2 files changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list