Re: [PATCH 02/13] usb: musb: Fix compilation of gadget code

2021-01-15 Thread Pali Rohár
On Sunday 29 November 2020 18:52:13 Pavel Machek wrote: > On Sun 2020-11-29 17:46:07, Pali Rohár wrote: > > musb udc code depends on usb gadget code provided by CONFIG_USB_DEVICE and > > defined in drivers/usb/gadget/Makefile. But this Makefile is not included > > into U-Boot build when CONFIG_USB_

Re: [PATCH 02/13] usb: musb: Fix compilation of gadget code

2020-11-29 Thread Pavel Machek
On Sun 2020-11-29 17:46:07, Pali Rohár wrote: > musb udc code depends on usb gadget code provided by CONFIG_USB_DEVICE and > defined in drivers/usb/gadget/Makefile. But this Makefile is not included > into U-Boot build when CONFIG_USB_GADGET is not set. As CONFIG_USB_DEVICE > cannot be enabled toge

[PATCH 02/13] usb: musb: Fix compilation of gadget code

2020-11-29 Thread Pali Rohár
musb udc code depends on usb gadget code provided by CONFIG_USB_DEVICE and defined in drivers/usb/gadget/Makefile. But this Makefile is not included into U-Boot build when CONFIG_USB_GADGET is not set. As CONFIG_USB_DEVICE cannot be enabled together with CONFIG_USB_GADGET it means that dependency f