From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 30 Jul 2012 14:02:13 +0200 Subject: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once In-Reply-To: <4B9C9637D5087840A465BDCB251780E9E2D6EDA40C@HKMAIL02.nvidia.com> References: <4B9C9637D5087840A465BDCB251780E9E2D6EDA3EB@HKMAIL02.nvidia.com> <201207271125.34599.marek.vasut@gmail.com> <4B9C9637D5087840A465BDCB251780E9E2D6EDA40C@HKMAIL02.nvidia.com> Message-ID: <201207301402.13546.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jim Lin, > >-----Original Message----- > >From: Marek Vasut [mailto:marek.vasut at gmail.com] > >Sent: Friday, July 27, 2012 5:26 PM > >To: u-boot at lists.denx.de > >Cc: Jim Lin; Wolfgang Denk; Tom Warren > >Subject: Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB > >controllers at once > > > >> Wolfgang, > >> Is there any chance to get this feature in after Stephen explained to > >> you? > > > >I'll poke into it. Can we not get rid of the added ifdef, eg. by setting > >up the controller number to 1 for those that don't define > >CONFIG_USB_MULTI now (everyone) > > I assume you want me to add these in next patch. > 1 . Use CONFIG_USB_MULTI, instead of CONFIG_USB_INIT_MULTI > (current patch), > 2. If CONFIG_USB_MULTI is not defined, then define > CONFIG_USB_MAX_CONTROLLER_COUNT as 1. Yes, is that a problem? Aka. have this always enabled and don't treat not having multiple controllers as a special case. > > and adding some wrapping goo? > > Don't understand what you meant. > Could you provide an example? Just don't treat having 1 controller as a special case, that's all I meant. > Thanks. > > nvpublic Best regards, Marek Vasut