diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-26 08:46:10 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-26 21:36:57 +0200 |
commit | 98cbf263bd8757304c896254a08b574377ceace5 (patch) | |
tree | a2d5a36d4b6cdcac01e9b6b0e7ecb98a4d4ab1fa /drivers/usb | |
parent | 18d588da7422ea9f35d5c71b34467b60dacdaa20 (diff) | |
download | barebox-98cbf263bd8757304c896254a08b574377ceace5.tar.gz barebox-98cbf263bd8757304c896254a08b574377ceace5.tar.xz |
USB: gadget: allow multiple udc drivers
Since the MUSB driver will have it's own directory the Kconfig
entries won't be in drivers/usb/gadget/Kconfig. This is incompatible
with the current 'choice' approach for udc drivers. The udc drivers
do not implement the global usb_gadget_poll() anymore, so we can
drop the choice and allow multiple gadget drivers.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 883a19f35b..65315e6f31 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -1,9 +1,4 @@ -config USB_HAVE_GADGET_DRIVER - bool - default y if ARCH_IMX || ARCH_MXS || ARCH_AT91 || ARCH_PXA - menuconfig USB_GADGET - depends on USB_HAVE_GADGET_DRIVER select USB bool "USB gadget support" @@ -12,13 +7,11 @@ if USB_GADGET config USB_GADGET_DUALSPEED bool -choice - prompt "USB Peripheral Controller" - config USB_GADGET_DRIVER_ARC bool prompt "Arc OTG device core" depends on ARCH_IMX || ARCH_MXS + default y select USB_GADGET_DUALSPEED select POLLER @@ -26,6 +19,7 @@ config USB_GADGET_DRIVER_AT91 bool prompt "at91 gadget driver" depends on ARCH_AT91 + default y select USB_GADGET_DUALSPEED select POLLER @@ -33,9 +27,9 @@ config USB_GADGET_DRIVER_PXA27X bool prompt "PXA27x gadget driver" depends on ARCH_PXA + default y select USB_GADGET_DUALSPEED select POLLER -endchoice comment "USB Gadget drivers" |