usb/xhci: fixup xhci kconfig deps
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 20 Oct 2020 07:48:38 +0000 (09:48 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 21 Oct 2020 09:36:19 +0000 (11:36 +0200)
USB_XHCI does not depend on PCI any more.
USB_XHCI_SYSBUS must select USB_XHCI not USB.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Message-id: 20201020074844.5304-5-kraxel@redhat.com

hw/usb/Kconfig

index 4dd2ba9630cbe57e02721c2e30049ce9eae03628..a674ce4c542eba3e12a5353572129e5624f6afb3 100644 (file)
@@ -32,8 +32,6 @@ config USB_EHCI_SYSBUS
 
 config USB_XHCI
     bool
-    default y if PCI_DEVICES
-    depends on PCI
     select USB
 
 config USB_XHCI_PCI
@@ -50,8 +48,8 @@ config USB_XHCI_NEC
 
 config USB_XHCI_SYSBUS
     bool
-    default y if USB_XHCI
-    select USB
+    default y
+    select USB_XHCI
 
 config USB_MUSB
     bool