Hi, On 7 June 2018 at 01:39, Lukasz Majewski <[email protected]> wrote: > Hi Jean-Jacques, > >> Most of the time the UDC is bound to a driver when a dedicated >> command is executed, like 'dfu'. But the ethernet gadget driver must >> be bound by calling usb_ether_init() in the code otherwise the USB >> ethernet adapter is not visible to the ethernet core. >> >> In DM context, the platform code should not be used to bind UDC to a >> particular driver, so adding a new command to bind a USB device port >> to a driver. >> >> usage example: >> usbdev bind 0 usb_ether >> usbdev unbind 0 > > I would prefer a comment from Simon (so adding him to CC) - as it looks > to me that we shall try to use DM to avoid adding separate commands for > binding.
We could perhaps introduce 'bind' and 'unbind' commands with similar arguments? Regards, Simon _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

