[PATCH 1/1] usb: USB_EHCI_PCI depends on PCI && USB_EHCI_HCD

Marek Vasut marek.vasut at mailbox.org
Sat Nov 15 00:02:04 CET 2025


On 11/14/25 11:19 AM, Heinrich Schuchardt wrote:
> CONFIG_USB_EHCI_PCI cannot work without CONFIG_PCI.
> The detection of an EHCI PCI device fails without CONFIG_USB_EHCI_HCD.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>   drivers/usb/host/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index 427b62e934b..7282a34ff00 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -271,6 +271,7 @@ config USB_EHCI_MSM
>   
>   config USB_EHCI_PCI
>   	bool "Support for PCI-based EHCI USB controller"
> +	depends on PCI && USB_EHCI_HCD

Isn't this symbol already wrapped in 'if USB_EHCI_HCD' at line cca. 168 
? Does it have to be 'depends on PCI && USB_EHCI_HCD' here , or would 
'depends on PCI' be enough ?


More information about the U-Boot mailing list