[PATCH] usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool
Francesco Dolcini
francesco at dolcini.it
Mon Mar 24 09:03:15 CET 2025
Hello Mattijs, Marek
On Thu, Mar 20, 2025 at 10:47:02AM +0100, Mattijs Korpershoek wrote:
> On mer., mars 19, 2025 at 23:07, Marek Vasut <marex at denx.de> wrote:
>
> > The UUU tool excepts the interrupt-in endpoint to be ep1in, otherwise
> > it crashes. This is a result of the previous hard-coded EP setup in
> > drivers/usb/gadget/epautoconf.c which did special-case EP allocation
> > for SPL builds, and which was since converted to this callback, but
> > without the special-case EP allocation in SPL part.
> >
> > This reinstates the SPL part in an isolated manner, only for NXP iMX
> > SoCs, only for SPL builds, and only for the ep1in interrupt-in endpoint.
UUU can (and in our case is) used also on non-NXP i.MX platforms.
What should we do?
Francesco
More information about the U-Boot
mailing list