[PATCH 1/1] usb: USB_XHCI_PCI depends on PCI
Mark Kettenis
mark.kettenis at xs4all.nl
Mon Nov 20 16:04:21 CET 2023
> From: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Date: Mon, 20 Nov 2023 15:56:36 +0100
>
> Compiling with CONFIG_USB_XHCI_PCI and CONFIG_PCI=n results in
>
> usb/host/xhci-pci.c:48:(.text.xhci_pci_probe+0x44):
> undefined reference to `dm_pci_write_config32
>
> Add the missing Kconfig dependency.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
Reviewed-by: Mark Kettenis <kettenis at openbsd.org>
> ---
> drivers/usb/host/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index b501ea514b..35610ffc2b 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -90,7 +90,7 @@ config USB_XHCI_OMAP
>
> config USB_XHCI_PCI
> bool "Support for PCI-based xHCI USB controller"
> - depends on DM_USB
> + depends on DM_USB && PCI
> default y if X86
> help
> Enables support for the PCI-based xHCI controller.
> --
> 2.40.1
>
>
More information about the U-Boot
mailing list