summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/Kconfig
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 /drivers/usb/gadget/Kconfig
parent3457bbaf22a8fb6884d52fc3af997c187e930f06 (diff)
downloadu-boot-aaa4a9e313ee6e5d30c1476ad754e0b907e34217.tar.gz
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 'drivers/usb/gadget/Kconfig')
-rw-r--r--drivers/usb/gadget/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 5838d6e8de..969873c928 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -80,4 +80,10 @@ config USB_GADGET_VBUS_DRAW
config USB_GADGET_DUALSPEED
bool
+config USB_GADGET_DOWNLOAD
+ bool "Enable USB download gadget"
+ help
+ Composite USB download gadget support (g_dnl) for download functions.
+ This code works on top of composite gadget.
+
endif # USB_GADGET