summaryrefslogtreecommitdiffstats
path: root/include/configs/tegra-common-usb-gadget.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-06-12 19:56:58 +0200
committerMarek Vasut <marex@denx.de>2015-07-22 08:57:53 +0200
commit01acd6abbdd5a5951f68d08c245550c720ea6ad8 (patch)
tree41204c356c749add837262bbd9c450dfb1aa5c0a /include/configs/tegra-common-usb-gadget.h
parentf2226c0dbec2de90f92367f66af3a4cb20109ed3 (diff)
downloadtalos-obmc-uboot-01acd6abbdd5a5951f68d08c245550c720ea6ad8.tar.gz
talos-obmc-uboot-01acd6abbdd5a5951f68d08c245550c720ea6ad8.zip
usb: USB download gadget and functions config options coherent naming
This introduces a coherent scheme for naming USB download gadget and functions config options. The download USB gadget config option is moved to CONFIG_USB_GADGET_DOWNLOAD for better consistency with other gadgets and each function's config option is moved to a CONFIG_USB_FUNCTION_ prefix. Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Tested-by: Lukasz Majewski <l.majewski@samsung.com> Test HW: Odroid_XU3 (Exynos5422), trats (Exynos4210)
Diffstat (limited to 'include/configs/tegra-common-usb-gadget.h')
-rw-r--r--include/configs/tegra-common-usb-gadget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h
index 287460c132..d70a4e73a0 100644
--- a/include/configs/tegra-common-usb-gadget.h
+++ b/include/configs/tegra-common-usb-gadget.h
@@ -18,12 +18,12 @@
#define CONFIG_G_DNL_VENDOR_NUM 0x0955
#define CONFIG_G_DNL_PRODUCT_NUM 0x701A
#define CONFIG_G_DNL_MANUFACTURER "NVIDIA"
-#define CONFIG_USBDOWNLOAD_GADGET
+#define CONFIG_USB_GADGET_DOWNLOAD
/* USB mass storage protocol */
-#define CONFIG_USB_GADGET_MASS_STORAGE
+#define CONFIG_USB_FUNCTION_MASS_STORAGE
#define CONFIG_CMD_USB_MASS_STORAGE
/* DFU protocol */
-#define CONFIG_DFU_FUNCTION
+#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_SYS_DFU_DATA_BUF_SIZE (1 * 1024 * 1024)
#define CONFIG_CMD_DFU
#ifdef CONFIG_MMC
OpenPOWER on IntegriCloud