[U-Boot] [PATCH] usb: dwc3: Kconfig: get rid of obsolete mode selection

Marek Vasut marex at denx.de
Thu Aug 8 09:36:38 UTC 2019


On 8/7/19 5:55 PM, Jean-Jacques Hiblot wrote:
> The mode selection for the DWC3 is kind of obsolete. The driver does not
> have to be host only or gadget only. This choice is confusing.
> All the remaining callers of dwc3_uboot_init() explicitly set dr_mode
> before calling the function, so none rely on a default behavior.
> 
> Remove the choice menu and keep only the USB_DWC3_GADGET option. Enable it
> by default if USB_GADGET and USB_DWC3 are enabled.
> It must be disabled for the evb-rk3328 and odroid-n2 as it uses DWC2 for
> the gadget and DWC3 for the host.
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> 
> ---
> 
> This patch applies on top of git://git.denx.de/u-boot-usb.git master

So I dropped the entire dwc3 patchset from you , since it failed to
build and I couldn't find an easy way to fix it. Please respin the whole
thing and repost, if possible. Thanks!


More information about the U-Boot mailing list