On 15/07/19 13:10, BALATON Zoltan wrote: >> >> If you want to compile without USB_EHCI_PCI and without USB_EHCI_SYSBUS, >> but with USB (e.g. due to XHCI), I think we should not include >> hcd-ehci.o file in the build. So I think it's fine that we have a >> separate config switch for this file. > > So shouldn't build depend on either USB_EHCI_PCI or USB_EHCI_SYSBUS > selected then?
No, USB_EHCI is never selected by the user. The board or default-config file selects either USB_EHCI_PCI or USB_EHCI_SYSBUS, which brings in USB_EHCI, which brings in USB, which (optionally) brings in the USB devices. Paolo