[PATCH v3 68/76] usb: Drop unused fotg210 gadget

Tom Rini trini at konsulko.com
Sat Feb 11 02:06:14 CET 2023


On Fri, Feb 10, 2023 at 05:33:13PM -0600, Samuel Holland wrote:
> On 2/1/23 14:20, Simon Glass wrote:
> > This is not used and appears to be associated with the faraday board which
> > has been removed. Drop the driver and Kconfig options.
> > 
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> > 
> > (no changes since v1)
> > 
> >  drivers/usb/gadget/Makefile       |   3 +-
> >  drivers/usb/gadget/fotg210.c      | 964 ------------------------------
> >  drivers/usb/gadget/gadget_chips.h |   8 -
> >  include/usb/fotg210.h             | 362 -----------
> >  4 files changed, 1 insertion(+), 1336 deletions(-)
> >  delete mode 100644 drivers/usb/gadget/fotg210.c
> >  delete mode 100644 include/usb/fotg210.h
> > 
> > diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
> > index 9c04403da30..b04b6bcd779 100644
> > --- a/drivers/usb/gadget/Makefile
> > +++ b/drivers/usb/gadget/Makefile
> > @@ -19,8 +19,7 @@ obj-$(CONFIG_USB_GADGET_ATMEL_USBA) += atmel_usba_udc.o
> >  obj-$(CONFIG_USB_GADGET_BCM_UDC_OTG_PHY) += bcm_udc_otg_phy.o
> >  obj-$(CONFIG_USB_GADGET_DWC2_OTG) += dwc2_udc_otg.o
> >  obj-$(CONFIG_USB_GADGET_DWC2_OTG_PHY) += dwc2_udc_otg_phy.o
> > -obj-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o
> > -obj-$(CONFIG_USB_GADGET_MAX3420) += max3420_udc.o
> > +0obj-$(CONFIG_USB_GADGET_MAX3420) += max3420_udc.o
> 
> This stray 0 breaks the next line of the Makefile.

Little worried that didn't cause some failure to build elsewhere,
honestly, I guess because USB_GADGET_MAX3420 isn't used either? But I'll
push a fix with a Reported-by soon, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230210/925812ac/attachment.sig>


More information about the U-Boot mailing list