diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-11-20 15:56:36 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2023-12-01 16:01:59 +0100 |
commit | 493e0e2577bfe11b3065a30a6f5c827f95c1df94 (patch) | |
tree | 75761f4fe2a06aa22e0380b5d0e27fa68e810603 | |
parent | 6e91df96dccf3326925e40b43635743352edec86 (diff) | |
download | u-boot-493e0e2577bfe11b3065a30a6f5c827f95c1df94.zip u-boot-493e0e2577bfe11b3065a30a6f5c827f95c1df94.tar.gz u-boot-493e0e2577bfe11b3065a30a6f5c827f95c1df94.tar.bz2 |
usb: USB_XHCI_PCI depends on PCI
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@canonical.com>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Marek Vasut <marex@denx.de>
-rw-r--r-- | drivers/usb/host/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index b501ea5..35610ff 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. |