[PATCH 1/2] usb: gadget: Remove final remnants of CONFIG_USB_DEVICE

Mattijs Korpershoek mkorpershoek at baylibre.com
Fri Feb 28 10:06:07 CET 2025


Hi Tom,

Thank you for the patch.

On jeu., févr. 27, 2025 at 14:51, Tom Rini <trini at konsulko.com> wrote:

> The lone user of the legacy USB device framework have been removed for
> some time. Remove the final parts of the code that were missed.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Marek Vasut <marex at denx.de>
> Cc: Mattijs Korpershoek <mkorpershoek at baylibre.com>
> ---
>  Makefile                      |   1 -
>  arch/arm/lib/bootm.c          |   4 -
>  arch/riscv/lib/bootm.c        |   4 -
>  drivers/usb/gadget/Makefile   |   4 -
>  drivers/usb/gadget/core.c     | 621 ----------------------------------
>  drivers/usb/gadget/ep0.c      | 619 ---------------------------------
>  lib/efi_loader/efi_boottime.c |   2 -
>  7 files changed, 1255 deletions(-)
>  delete mode 100644 drivers/usb/gadget/core.c
>  delete mode 100644 drivers/usb/gadget/ep0.c

I'm always happy to see dead code go. Thanks for doing this!

Reviewed-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>

>

[...]


More information about the U-Boot mailing list