summaryrefslogtreecommitdiff
path: root/include/configs/tegra-common-usb-gadget.h
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-08-06 00:46:58 +0200
committerTom Warren <twarren@nvidia.com>2015-08-13 13:06:01 -0700
commit98b6d2602f0058b866d3aa4f67f02bf706125685 (patch)
tree5bfdd093bf6ee957a1b9c6a42c49ca2b6290f654 /include/configs/tegra-common-usb-gadget.h
parent0741701acf00749672f75f4c196dabd8b235f741 (diff)
downloadu-boot-imx-98b6d2602f0058b866d3aa4f67f02bf706125685.zip
u-boot-imx-98b6d2602f0058b866d3aa4f67f02bf706125685.tar.gz
u-boot-imx-98b6d2602f0058b866d3aa4f67f02bf706125685.tar.bz2
ARM: tegra: allow custom usb manufacturer/product/vendor ids/strings
Allow for optional custom USB gadget manufacturer/product/vendor IDs/strings to be specified. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
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 d70a4e7..e51da3f 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_USB_GADGET_DOWNLOAD
/* USB mass storage protocol */
#define CONFIG_USB_FUNCTION_MASS_STORAGE