[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/6] hw/usb/Kconfig: Fix USB_XHCI_NEC (depends on USB_XHCI_PCI)
From: |
Gerd Hoffmann |
Subject: |
[PULL 3/6] hw/usb/Kconfig: Fix USB_XHCI_NEC (depends on USB_XHCI_PCI) |
Date: |
Fri, 13 Nov 2020 13:29:52 +0100 |
From: Philippe Mathieu-Daudé <philmd@redhat.com>
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>
---
hw/usb/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig
index a674ce4c542e..3b07d9cf6879 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
--
2.27.0
- [PULL 0/6] Fixes 20201113 patches, Gerd Hoffmann, 2020/11/13
- [PULL 3/6] hw/usb/Kconfig: Fix USB_XHCI_NEC (depends on USB_XHCI_PCI),
Gerd Hoffmann <=
- [PULL 6/6] xhci: fix nec-usb-xhci properties, Gerd Hoffmann, 2020/11/13
- [PULL 4/6] hw/display/cirrus_vga: Remove debugging code commented out, Gerd Hoffmann, 2020/11/13
- [PULL 1/6] audio/jack: fix use after free segfault, Gerd Hoffmann, 2020/11/13
- [PULL 5/6] hw/display/cirrus_vga: Fix hexadecimal format string specifier, Gerd Hoffmann, 2020/11/13
- [PULL 2/6] console: avoid passing con=NULL to graphic_hw_update_done(), Gerd Hoffmann, 2020/11/13
- Re: [PULL 0/6] Fixes 20201113 patches, Peter Maydell, 2020/11/13