From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mateusz Zalega Date: Thu, 22 Aug 2013 12:32:04 +0200 Subject: [U-Boot] [PATCH] usb: new board-specific USB init interface In-Reply-To: <201308211508.01104.marex@denx.de> References: <1375786242-11734-1-git-send-email-m.zalega@samsung.com> <201308210533.54662.marex@denx.de> <521494CB.1010305@samsung.com> <201308211508.01104.marex@denx.de> Message-ID: <5215E8A4.1030304@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >>> The EHCI supports multi-bus thing (passing the controller *), will this >>> be viable to pass in this case too, so the busses can be inited >>> selectively in host/gadget functions? >> >> Hello, Marek. >> I need more context. Could you show me the part of code in which you'd >> like to pass/use additional arguments? > > Please grep the 'controller' pointer that is passed to various functions at > least in the EHCI case. It would be nice to pass that to the init functions too, > no? It may be possible, but note that board_usb_init() is not used solely by EHCI code (please grep or cscope function calls). In order to do that, we would need to devise some generic interface. Is it worth the time? Are there targets that would benefit from this change? -- Mateusz Zalega Samsung R&D Institute Poland