diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-10 08:04:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-18 14:42:35 +0200 |
commit | 4a872ae0ffe1380a28589f8f9e164d9d67471f1a (patch) | |
tree | 8dcf2d108372c95d83c8f985da78b55702fe7813 /drivers/usb/Kconfig | |
parent | d985d2276345b6627b8887d0f81cd932beed62cb (diff) | |
download | barebox-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/Kconfig | 10 |
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 |