From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 14 Jun 2016 14:13:38 +0200 Subject: [U-Boot] powerpc/85xx: usb: Limit controllers initialized by usb_init() In-Reply-To: <1465882851528.90355@alliedtelesis.co.nz> References: <1465882851528.90355@alliedtelesis.co.nz> Message-ID: <575FF4F2.6040600@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 On 06/14/2016 07:40 AM, Matthew Bright wrote: > Hi, Hi, > I am looking for a way to limit which usb host interfaces are initiali- > zed by usb_init() in order to skip unused interfaces. This is currently > governed CONFIG_USB_MAX_CONTROLLER_COUNT, which is possible to redefine > at the board level. However this doesn't cover more complex cases where > a SoC has multiple host interfaces but a board using that SoC only uses > a subset that is not necessarily contiguous. > > Does there currently exist a way to define such behavior, or should the > functionality be added to usb_init() to support this? The driver model should allow you to do exactly that, though I don't know if it's supposed on the MPC85xx . > Thanks. > Matthew Bright > > -- Best regards, Marek Vasut