summaryrefslogtreecommitdiffstats
path: root/hw/usb
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-11-09 14:52:57 +0100
committerGerd Hoffmann2020-11-13 07:36:33 +0100
commitf0617abfd6c08a7711cb99cc02a74533846c2f7d (patch)
treeb76e18bfc74c1f9968c7969c9bbf320ffae3dd64 /hw/usb
parentconsole: avoid passing con=NULL to graphic_hw_update_done() (diff)
downloadqemu-f0617abfd6c08a7711cb99cc02a74533846c2f7d.tar.gz
qemu-f0617abfd6c08a7711cb99cc02a74533846c2f7d.tar.xz
qemu-f0617abfd6c08a7711cb99cc02a74533846c2f7d.zip
hw/usb/Kconfig: Fix USB_XHCI_NEC (depends on USB_XHCI_PCI)
Since commit 755fba11fbc and 8ddab8dd3d8 we can not build USB_XHCI_NEC without USB_XHCI_PCI. Correct the Kconfig dependency. Fixes: 755fba11fbc ("usb/hcd-xhci: Move qemu-xhci device to hcd-xhci-pci.c") Reviewed-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20201109135300.2592982-2-philmd@redhat.com [ kraxel: restore "default y if PCI_DEVICES" because "qemu-system-ppc64 -M pseries,usb=on" needs USB_XHCI_NEC=y ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig
index a674ce4c54..3b07d9cf68 100644
--- a/hw/usb/Kconfig
+++ b/hw/usb/Kconfig
@@ -43,8 +43,7 @@ config USB_XHCI_PCI
config USB_XHCI_NEC
bool
default y if PCI_DEVICES
- depends on PCI
- select USB_XHCI
+ select USB_XHCI_PCI
config USB_XHCI_SYSBUS
bool