mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
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>
This commit is contained in:
parent
95de1e2f26
commit
5d6c2f4b5a
2 changed files with 16 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ config DM_USB
|
|||
|
||||
source "drivers/usb/host/Kconfig"
|
||||
|
||||
source "drivers/usb/musb-new/Kconfig"
|
||||
|
||||
source "drivers/usb/emul/Kconfig"
|
||||
|
||||
comment "USB peripherals"
|
||||
|
|
|
|||
14
drivers/usb/musb-new/Kconfig
Normal file
14
drivers/usb/musb-new/Kconfig
Normal file
|
|
@ -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.
|
||||
Loading…
Add table
Reference in a new issue