summaryrefslogtreecommitdiff
path: root/include/configs/tegra-common-usb-gadget.h
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-04-16 18:32:46 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-04-16 18:32:46 +0200
commit59ebbf4a56a1b9ecc0f9f00e2238bc550d5450c2 (patch)
tree6df75b2a86ce5375981934444c57040ed4d87a87 /include/configs/tegra-common-usb-gadget.h
parentf883e98833b5c37cae97c7678f170f84c20b6eb7 (diff)
ARM: tegra: allow custom usb manufacturer/product/vendor ids/strings
Allow for optional custom USB gadget manufacturer/product/vendor IDs/strings to be specified.
Diffstat (limited to 'include/configs/tegra-common-usb-gadget.h')
-rw-r--r--include/configs/tegra-common-usb-gadget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h
index 287460c132..645d96549c 100644
--- a/include/configs/tegra-common-usb-gadget.h
+++ b/include/configs/tegra-common-usb-gadget.h
@@ -15,9 +15,15 @@
#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