ARM: tegra: allow custom usb manufacturer/product/vendor ids/strings
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Thu, 16 Apr 2015 16:32:46 +0000 (18:32 +0200)
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>
Thu, 16 Apr 2015 16:32:46 +0000 (18:32 +0200)
Allow for optional custom USB gadget manufacturer/product/vendor
IDs/strings to be specified.

include/configs/tegra-common-usb-gadget.h

index 287460c132bc5068199447dfb0d8e039d8f52ca0..645d96549c7ef9121d4eba7a32d55d5b212f7a14 100644 (file)
 #define CONFIG_CI_UDC
 #define CONFIG_CI_UDC_HAS_HOSTPC
 #define CONFIG_USB_GADGET_DUALSPEED
+#ifndef CONFIG_G_DNL_VENDOR_NUM
 #define CONFIG_G_DNL_VENDOR_NUM 0x0955
+#endif
+#ifndef CONFIG_G_DNL_PRODUCT_NUM
 #define CONFIG_G_DNL_PRODUCT_NUM 0x701A
+#endif
+#ifndef CONFIG_G_DNL_MANUFACTURER
 #define CONFIG_G_DNL_MANUFACTURER "NVIDIA"
+#endif
 #define CONFIG_USBDOWNLOAD_GADGET
 /* USB mass storage protocol */
 #define CONFIG_USB_GADGET_MASS_STORAGE