summaryrefslogtreecommitdiffstats
path: root/include/configs/sunxi-common.h
diff options
context:
space:
mode:
authorSam Protsenko <semen.protsenko@linaro.org>2016-04-13 14:20:26 +0300
committerMarek Vasut <marex@denx.de>2016-04-20 11:43:27 +0200
commitaaa4a9e313ee6e5d30c1476ad754e0b907e34217 (patch)
tree62b36c8a99861a9d4d89b7735e26bcca3b8f6bb2 /include/configs/sunxi-common.h
parent3457bbaf22a8fb6884d52fc3af997c187e930f06 (diff)
downloadblackbird-obmc-uboot-aaa4a9e313ee6e5d30c1476ad754e0b907e34217.tar.gz
blackbird-obmc-uboot-aaa4a9e313ee6e5d30c1476ad754e0b907e34217.zip
usb: gadget: Move CONFIG_USB_GADGET_DOWNLOAD to Kconfig
While at it, remove obsolete CONFIG_USBDOWNLOAD_GADGET option from some config headers. This is also probably fixes am335x_baltos board. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r--include/configs/sunxi-common.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 805ae09d40..6e880a7e03 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -342,17 +342,12 @@ extern int soft_i2c_gpio_scl;
#endif
#ifdef CONFIG_USB_MUSB_GADGET
-
-#define CONFIG_USB_GADGET_DOWNLOAD
-#define CONFIG_USB_FUNCTION_DFU
-#define CONFIG_USB_FUNCTION_FASTBOOT
-#define CONFIG_USB_FUNCTION_MASS_STORAGE
-#endif
-
-#ifdef CONFIG_USB_GADGET_DOWNLOAD
#define CONFIG_G_DNL_VENDOR_NUM 0x1f3a
#define CONFIG_G_DNL_PRODUCT_NUM 0x1010
#define CONFIG_G_DNL_MANUFACTURER "Allwinner Technology"
+#define CONFIG_USB_FUNCTION_DFU
+#define CONFIG_USB_FUNCTION_FASTBOOT
+#define CONFIG_USB_FUNCTION_MASS_STORAGE
#endif
#ifdef CONFIG_USB_FUNCTION_DFU
OpenPOWER on IntegriCloud