Prepare v2023.10
[platform/kernel/u-boot.git] / drivers / usb / gadget / gadget_chips.h
index 66ccd05..98156c3 100644 (file)
 #define        gadget_is_sh(g)         0
 #endif
 
-/* not yet stable on 2.6 (would help "original Zaurus") */
-#ifdef CONFIG_USB_GADGET_SA1100
-#define        gadget_is_sa1100(g)     (!strcmp("sa1100_udc", (g)->name))
-#else
-#define        gadget_is_sa1100(g)     0
-#endif
-
 /* handhelds.org tree (?) */
 #ifdef CONFIG_USB_GADGET_MQ11XX
 #define        gadget_is_mq11xx(g)     (!strcmp("mq11xx_udc", (g)->name))
 #define gadget_is_ci(g)        0
 #endif
 
-#ifdef CONFIG_USB_GADGET_FOTG210
-#define gadget_is_fotg210(g)        (!strcmp("fotg210_udc", (g)->name))
-#else
-#define gadget_is_fotg210(g)        0
-#endif
-
 #ifdef CONFIG_USB_DWC3_GADGET
 #define gadget_is_dwc3(g)        (!strcmp("dwc3-gadget", (g)->name))
 #else
@@ -183,8 +170,6 @@ static inline int usb_gadget_controller_number(struct usb_gadget *gadget)
                return 0x02;
        else if (gadget_is_sh(gadget))
                return 0x04;
-       else if (gadget_is_sa1100(gadget))
-               return 0x05;
        else if (gadget_is_goku(gadget))
                return 0x06;
        else if (gadget_is_mq11xx(gadget))
@@ -211,8 +196,6 @@ static inline int usb_gadget_controller_number(struct usb_gadget *gadget)
                return 0x20;
        else if (gadget_is_ci(gadget))
                return 0x21;
-       else if (gadget_is_fotg210(gadget))
-               return 0x22;
        else if (gadget_is_dwc3(gadget))
                return 0x23;
        else if (gadget_is_cdns3(gadget))