summaryrefslogtreecommitdiffstats
path: root/drivers/usb/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-07-10 08:04:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-18 14:42:35 +0200
commit4a872ae0ffe1380a28589f8f9e164d9d67471f1a (patch)
tree8dcf2d108372c95d83c8f985da78b55702fe7813 /drivers/usb/Kconfig
parentd985d2276345b6627b8887d0f81cd932beed62cb (diff)
downloadbarebox-4a872ae0ffe1380a28589f8f9e164d9d67471f1a.tar.gz
barebox-4a872ae0ffe1380a28589f8f9e164d9d67471f1a.tar.xz
USB: Kconfig: introduce USB_HOST symbol
This renames USB to USB_HOST since this is what the symbol really means. Introduce a USB symbol which is selected by both USB_GADGET and USB_HOST. This gives us a symbol to let common USB code depend on. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/Kconfig')
-rw-r--r--drivers/usb/Kconfig10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index 0b349bf619..eedd20e311 100644
--- a/drivers/usb/Kconfig
+++ b/drivers/usb/Kconfig
@@ -1,7 +1,11 @@
-menuconfig USB
- bool "USB support"
+config USB
+ bool
-if USB
+menuconfig USB_HOST
+ select USB
+ bool "USB Host support"
+
+if USB_HOST
source drivers/usb/imx/Kconfig