[U-Boot] [PATCH] usb: new board-specific USB init interface

Mateusz Zalega m.zalega at samsung.com
Thu Aug 22 12:32:04 CEST 2013


>>> 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


More information about the U-Boot mailing list