hw/usb/Kconfig: Add CONFIG_USB_EHCI_PCI

The USB_EHCI entry currently include PCI code. Since the EHCI
implementation is already split in sysbus/PCI, add a new
USB_EHCI_PCI. There are no logical changes, but the Kconfig
dependencies tree is cleaner.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Philippe Mathieu-Daudé 2019-07-15 11:55:44 +02:00 committed by Paolo Bonzini
parent 56e2ec9488
commit a86588d6a9
2 changed files with 9 additions and 5 deletions

View file

@ -19,13 +19,16 @@ config USB_OHCI_PCI
config USB_EHCI
bool
default y if PCI_DEVICES
depends on PCI
select USB
config USB_EHCI_PCI
bool
default y if PCI_DEVICES
select USB_EHCI
config USB_EHCI_SYSBUS
bool
select USB
select USB_EHCI
config USB_XHCI
bool