]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/gadget/gadget_chips.h
Merge branch 'u-boot/master' into 'u-boot-arm/master'
[u-boot] / drivers / usb / gadget / gadget_chips.h
index cc94771e32fc40648b097b6978e229904db20c99..c859df2f7f86c6cd763345a21d289fcd0c4f111e 100644 (file)
 #define gadget_is_fotg210(g)        0
 #endif
 
+#ifdef CONFIG_USB_DWC3_GADGET
+#define gadget_is_dwc3(g)        (!strcmp("dwc3-gadget", (g)->name))
+#else
+#define gadget_is_dwc3(g)        0
+#endif
+
+
+
 /*
  * CONFIG_USB_GADGET_SX2
  * CONFIG_USB_GADGET_AU1X00