On Mon, 15 Jul 2019, Philippe Mathieu-Daudé wrote: > 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é > --- > hw/usb/Kconfig | 9 ++++++--- > hw/usb/Makefile.objs | 5 +++-- > 2 files changed, 9 insertions(+), 5 deletions(-) > > diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig > index 564305e283..495c6f2d48 100644 > --- a/hw/usb/Kconfig > +++ b/hw/usb/Kconfig > @@ -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 Isn't this making USB_EHCI effectively the same as USB so maybe you don't need to keep that around any more. Can you just add select USB to USB_EHCI_PCI and USB_EHCI_SYSBUS and delete USB_EHCI? Regards, BALATON Zoltan