aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-11-20 15:56:36 +0100
committerMarek Vasut <marex@denx.de>2023-12-01 16:01:59 +0100
commit493e0e2577bfe11b3065a30a6f5c827f95c1df94 (patch)
tree75761f4fe2a06aa22e0380b5d0e27fa68e810603 /drivers
parent6e91df96dccf3326925e40b43635743352edec86 (diff)
downloadu-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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/Kconfig2
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.