Re: [U-Boot] [PATCH v1 02/16] dm: usb: create a new UCLASS ID for USB gadget devices

2018-11-26 Thread Simon Glass
On Wed, 21 Nov 2018 at 03:51, Jean-Jacques Hiblot wrote: > > UCLASS_USB_DEV_GENERIC was meant for USB devices connected to host > controllers, not gadget devices. > Adding a new UCLASS for gadget devices alone. > > Also move the generic DM code for USB gadgets in a separate file for > clarity. > >

[U-Boot] [PATCH v1 02/16] dm: usb: create a new UCLASS ID for USB gadget devices

2018-11-21 Thread Jean-Jacques Hiblot
UCLASS_USB_DEV_GENERIC was meant for USB devices connected to host controllers, not gadget devices. Adding a new UCLASS for gadget devices alone. Also move the generic DM code for USB gadgets in a separate file for clarity. Signed-off-by: Jean-Jacques Hiblot --- board/sunxi/board.c