[U-Boot] [PATCH] dm: usb: gadget: Fix boot breakage on sunxi platforms
Jagan Teki
jagan at amarulasolutions.com
Sun Dec 23 22:14:08 UTC 2018
On Fri, Dec 21, 2018 at 2:20 PM Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
>
Better to have proper commit head that tells the real issue.
> Fixes commit 013116243950 ("dm: usb: create a new UCLASS ID for USB gadget
> devices")
>
> The UCLASS_DRIVER for id UCLASS_USB_GADGET_GENERIC needs to be declared
> even for platforms that do not enable DM_USB_GADGET. Otherwise the driver
> for their usb peripheral controller fails to bind.
Sorry this is unclear, you are trying to skip DM_USB_GADGET code even
though UCLASS_USB_GADGET_GENERIC id used. does it make sense?
More information about the U-Boot
mailing list