qemu/hw/usb/Kconfig
Thomas Huth 8d942986be hw: Only compile the usb-dwc2 controller if it is really needed
The USB_DWC2 switch is currently "default y", so it is included in all
qemu-system-* builds, even if it is not needed. Even worse, it does a
"select USB", so USB devices are now showing up as available on targets
that do not support USB at all. This sysbus device should only be
included by the boards that need it, i.e. by the Raspi machines.

Fixes: 153ef1662c ("dwc-hsotg (dwc2) USB host controller emulation")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Paul Zimmerman <pauldzim@gmail.com>
Message-id: 20200722154719.10130-1-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2020-07-24 16:15:28 +02:00

103 lines
1.3 KiB
Plaintext

config USB
bool
config USB_UHCI
bool
default y if PCI_DEVICES
depends on PCI
select USB
config USB_OHCI
bool
select USB
config USB_OHCI_PCI
bool
default y if PCI_DEVICES
depends on PCI
select USB_OHCI
config USB_EHCI
bool
select USB
config USB_EHCI_PCI
bool
default y if PCI_DEVICES
select USB_EHCI
config USB_EHCI_SYSBUS
bool
select USB_EHCI
config USB_XHCI
bool
default y if PCI_DEVICES
depends on PCI
select USB
config USB_XHCI_NEC
bool
default y if PCI_DEVICES
depends on PCI
select USB_XHCI
config USB_MUSB
bool
select USB
config USB_DWC2
bool
select USB
config TUSB6010
bool
select USB_MUSB
config USB_TABLET_WACOM
bool
default y
depends on USB
config USB_STORAGE_BOT
bool
default y
depends on USB
select SCSI
config USB_STORAGE_UAS
bool
default y
depends on USB
select SCSI
config USB_AUDIO
bool
default y
depends on USB
config USB_SERIAL
bool
default y
depends on USB
config USB_NETWORK
bool
default y
depends on USB
config USB_SMARTCARD
bool
default y
depends on USB
config USB_STORAGE_MTP
bool
default y
depends on USB
config IMX_USBPHY
bool
default y
depends on USB