summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-07-10 23:33:30 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-24 08:32:56 +0200
commitbfb7aa1e191628699b87b1a5b8428e454728d435 (patch)
tree8bd95d49f70965d4e4f593ddd71af74fe8835c96 /commands/Kconfig
parent3d5080aae90dffa3e3ea702f2efef8c5f9aaf372 (diff)
downloadbarebox-bfb7aa1e191628699b87b1a5b8428e454728d435.tar.gz
barebox-bfb7aa1e191628699b87b1a5b8428e454728d435.tar.xz
USB: gadget: Add a multi function gadget
Similar to the Kernel multi function this gadget driver is used for creating a USB device with multiple functions. This is created and removed with the newly created 'usbgadget' command. Based on the options it creates combinations of DFU, fastboot and serial USB functions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 174a5b602d..506b3d0a4e 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -1831,6 +1831,11 @@ config CMD_USB
Options:
-f force rescan
+config CMD_USBGADGET
+ bool
+ depends on USB_GADGET
+ prompt "usbgadget"
+
config CMD_WD
bool
depends on WATCHDOG