>>> 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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to