From: Wolfgang Denk Date: Tue, 26 Apr 2011 06:25:41 +0200 Subject: [U-Boot] [PATCH] ehci.h: replace usb root support from 2 to 5 In-Reply-To: <1303790229-9332-1-git-send-email-macpaul@andestech.com> References: <1303790229-9332-1-git-send-email-macpaul@andestech.com> Message-ID: <20110426042541.8E516101D70@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Macpaul Lin, In message <1303790229-9332-1-git-send-email-macpaul@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 > --- > 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.