mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
73059529b2
This new option allows to disable ahci-pci driver in SPL. Disabling it is needed when SPL_PCI is not enabled as ahci-pci depends on PCI. This change fixes following compile error when CONFIG_SPL_SATA_SUPPORT is enabled and SPL_PCI is disabled. LD spl/u-boot-spl arm-linux-gnueabihf-ld.bfd: drivers/ata/ahci.o: in function `ahci_probe_scsi_pci': drivers/ata/ahci.c:1205: undefined reference to `dm_pci_map_bar' arm-linux-gnueabihf-ld.bfd: drivers/ata/ahci.c:1215: undefined reference to `dm_pci_read_config16' arm-linux-gnueabihf-ld.bfd: drivers/ata/ahci.c:1216: undefined reference to `dm_pci_read_config16' arm-linux-gnueabihf-ld.bfd: drivers/ata/ahci.c:1220: undefined reference to `dm_pci_map_bar' make[1]: *** [scripts/Makefile.spl:512: spl/u-boot-spl] Error 1 make: *** [Makefile:1977: spl/u-boot-spl] Error 2 LD spl/u-boot-spl arm-linux-gnueabihf-ld.bfd: drivers/ata/ahci-pci.o: in function `ahci_pci_probe': drivers/ata/ahci-pci.c:21: undefined reference to `ahci_probe_scsi_pci' make[1]: *** [scripts/Makefile.spl:512: spl/u-boot-spl] Error 1 make: *** [Makefile:1977: spl/u-boot-spl] Error 2 Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
21 lines
727 B
Makefile
21 lines
727 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
obj-$(CONFIG_DWC_AHCI) += dwc_ahci.o
|
|
obj-$(CONFIG_AHCI) += ahci-uclass.o
|
|
obj-$(CONFIG_$(SPL_)AHCI_PCI) += ahci-pci.o
|
|
obj-$(CONFIG_SCSI_AHCI) += ahci.o
|
|
obj-$(CONFIG_DWC_AHSATA) += dwc_ahsata.o
|
|
obj-$(CONFIG_FSL_SATA) += fsl_sata.o
|
|
obj-$(CONFIG_LIBATA) += libata.o
|
|
obj-$(CONFIG_SATA) += sata.o
|
|
obj-$(CONFIG_SATA_CEVA) += sata_ceva.o
|
|
obj-$(CONFIG_SATA_MV) += sata_mv.o
|
|
obj-$(CONFIG_SATA_SIL3114) += sata_sil3114.o
|
|
obj-$(CONFIG_SATA_SIL) += sata_sil.o
|
|
obj-$(CONFIG_SANDBOX) += sata_sandbox.o
|
|
obj-$(CONFIG_AHCI_MVEBU) += ahci_mvebu.o
|
|
obj-$(CONFIG_SUNXI_AHCI) += ahci_sunxi.o
|
|
obj-$(CONFIG_MTK_AHCI) += mtk_ahci.o
|