From: Marcel Ziswiler Date: Wed, 5 Aug 2015 22:46:58 +0000 (+0200) Subject: ARM: tegra: allow custom usb manufacturer/product/vendor ids/strings X-Git-Tag: v2015.10-rc2~58 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=98b6d2602f0058b866d3aa4f67f02bf706125685;p=oweals%2Fu-boot.git 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 Reviewed-by: Simon Glass Acked-by: Stephen Warren Signed-off-by: Tom Warren --- diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h index d70a4e73a0..e51da3f405 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