[U-Boot] [PATCH] ehci.h: replace usb root support from 2 to 5

Wolfgang Denk wd at denx.de
Tue Apr 26 06:25:41 CEST 2011


Dear Macpaul Lin,

In message <1303790229-9332-1-git-send-email-macpaul at andestech.com> you wrote:
> Replace usb root support from 2 to 5.
> Some board has more then 2 usb slots hubs on the board.
> 
> Signed-off-by: Macpaul Lin <macpaul at andestech.com>
> ---
>  drivers/usb/host/ehci.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
> index 945ab64..c097d3d 100644
> --- a/drivers/usb/host/ehci.h
> +++ b/drivers/usb/host/ehci.h
> @@ -23,7 +23,7 @@
>  #define USB_EHCI_H
>  
>  #if !defined(CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS)
> -#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS	2
> +#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS	5
>  #endif

I think only very few systems will really need this.  Why cannot you
just #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS in your board config
file(s) then?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
How long does it take a  DEC  field  service  engineer  to  change  a
lightbulb?       It depends on how many bad ones he brought with him.


More information about the U-Boot mailing list