aboutsummaryrefslogtreecommitdiff
path: root/hw/usb
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2020-07-22 17:47:19 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-07-24 16:15:28 +0200
commit8d942986be27bb40e6faca2032af763d7db57082 (patch)
tree0b038125161c7dd30aa7fea340a9b1cea5e00ab3 /hw/usb
parent09e0cd773723219d21655587954da2769f64ba01 (diff)
downloadqemu-8d942986be27bb40e6faca2032af763d7db57082.zip
qemu-8d942986be27bb40e6faca2032af763d7db57082.tar.gz
qemu-8d942986be27bb40e6faca2032af763d7db57082.tar.bz2
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>
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig
index d4d8c37..5e63dc7 100644
--- a/hw/usb/Kconfig
+++ b/hw/usb/Kconfig
@@ -48,7 +48,6 @@ config USB_MUSB
config USB_DWC2
bool
- default y
select USB
config TUSB6010