menuconfig USB_GADGET
	depends on USB_HAVE_GADGET_DRIVER
	bool "USB gadget support            "

config USB_HAVE_GADGET_DRIVER
	bool
	default y if ARCH_IMX || ARCH_MXS || ARCH_AT91 || ARCH_PXA

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
	select USB_GADGET_DUALSPEED
	select POLLER

config USB_GADGET_DRIVER_AT91
	bool
	prompt "at91 gadget driver"
	depends on ARCH_AT91
	select USB_GADGET_DUALSPEED
	select POLLER

config USB_GADGET_DRIVER_PXA27X
	bool
	prompt "PXA27x gadget driver"
	depends on ARCH_PXA
	select USB_GADGET_DUALSPEED
	select POLLER
endchoice

comment "USB Gadget drivers"

config USB_GADGET_DFU
	bool
	prompt "Device Firmware Update Gadget"

config USB_GADGET_SERIAL
	bool
	depends on EXPERIMENTAL
	prompt "Serial Gadget"

endif

