]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: USB_XHCI_PCI depends on PCI
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 20 Nov 2023 14:56:36 +0000 (15:56 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 1 Dec 2023 15:01:59 +0000 (16:01 +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@canonical.com>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/host/Kconfig

index b501ea514bca87568101fa1dd3105f2e3e90484f..35610ffc2b37191c7b46267b6837dcb237d177bb 100644 (file)
@@ -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.