summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb-new/Kconfig
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-08-04 17:04:07 +0200
committerMarek Vasut <marex@denx.de>2015-08-05 17:20:34 +0200
commit5d6c2f4b5aab1ba5fe484fdd65bf78a71907f70d (patch)
treec33081ccc1d2363124db783c870b88944728be2c /drivers/usb/musb-new/Kconfig
parent95de1e2f26b562156210833ff667be6d071de019 (diff)
downloadtalos-obmc-uboot-5d6c2f4b5aab1ba5fe484fdd65bf78a71907f70d.tar.gz
talos-obmc-uboot-5d6c2f4b5aab1ba5fe484fdd65bf78a71907f70d.zip
usb: musb-new: Kconfig support for USB_MUSB_HOST and USB_MUSB_GADGET
Having MUSB_HOST and MUSB_GADGET in Kconfig allows more flexibility with regard to what Kconfig options to enable, such as USB_STORAGE or USB_KEYBOARD. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'drivers/usb/musb-new/Kconfig')
-rw-r--r--drivers/usb/musb-new/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/usb/musb-new/Kconfig b/drivers/usb/musb-new/Kconfig
new file mode 100644
index 0000000000..34a84740e0
--- /dev/null
+++ b/drivers/usb/musb-new/Kconfig
@@ -0,0 +1,14 @@
+#
+# MUSB Controller Driver
+#
+comment "MUSB Controller Driver"
+
+config USB_MUSB_HOST
+ bool "MUSB host mode support"
+ help
+ Enables the MUSB USB dual-role controller in host mode.
+
+config USB_MUSB_GADGET
+ bool "MUSB gadget mode support"
+ help
+ Enables the MUSB USB dual-role controller in gadget mode.
OpenPOWER on IntegriCloud