[U-Boot] [PATCH 13/20] usb: ehci: Get rid of CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS

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


On 16 June 2017 at 07:31, Bin Meng <bmeng.cn at gmail.com> wrote:
> EHC reports supported maximum number of ports in the HCSPARAMS
> register, so it's unnecessary to use a hardcoded config option
> CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  drivers/usb/host/ehci-hcd.c | 10 +++++++---
>  drivers/usb/host/ehci.h     |  7 +++----
>  2 files changed, 10 insertions(+), 7 deletions(-)

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


More information about the U-Boot mailing list