summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-03-26 19:58:25 +0300
committerTom Rini <trini@konsulko.com>2023-04-07 02:10:08 +0300
commit480c1d6725b2444f14b36bff1416514c6f09ea8f (patch)
tree9b199b1cf8f95f43d1de676f9f385523554c98f7
parent1172e258bf4666ca3b0ccdf31f028772b9a70673 (diff)
downloadu-boot-480c1d6725b2444f14b36bff1416514c6f09ea8f.tar.xz
ata: fix requirements for CONFIG_AHCI_PCI
Building with CONFIG_AHCI_PCI=y and CONFIG_SCSI_AHCI=n leads to drivers/ata/ahci-pci.o: in function `ahci_pci_probe': drivers/ata/ahci-pci.c:21: undefined reference to `ahci_probe_scsi_pci' Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--drivers/ata/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 3fe53d6d4f..2ab502c260 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -37,6 +37,7 @@ config AHCI_PCI
bool "Support for PCI-based AHCI controller"
depends on PCI
depends on DM_SCSI
+ depends on SCSI_AHCI
help
Enables support for the PCI-based AHCI controller.