Skip to content
Snippets Groups Projects
Commit f0617abf authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé Committed by Gerd Hoffmann
Browse files

hw/usb/Kconfig: Fix USB_XHCI_NEC (depends on USB_XHCI_PCI)


Since commit 755fba11 and 8ddab8dd we can not build
USB_XHCI_NEC without USB_XHCI_PCI. Correct the Kconfig
dependency.

Fixes: 755fba11 ("usb/hcd-xhci: Move qemu-xhci device to hcd-xhci-pci.c")
Reviewed-by: default avatarSai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Signed-off-by: default avatarPhilippe 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: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 1cd8b948
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment