diff options
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/Kconfig | 4 | ||||
-rw-r--r-- | drivers/pci/Makefile | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 025c418f2b..0585460976 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -1,5 +1,5 @@ config HW_HAS_PCI - bool + bool "Compile in PCI core" if COMPILE_TEST if HW_HAS_PCI @@ -49,7 +49,7 @@ config PCI_IMX6 config PCI_LAYERSCAPE bool "Freescale Layerscape PCIe controller" - depends on ARCH_LAYERSCAPE + depends on ARCH_LAYERSCAPE || COMPILE_TEST select PCIE_DW select OF_PCI select PCI diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile index 3ca6708657..d227619ed4 100644 --- a/drivers/pci/Makefile +++ b/drivers/pci/Makefile @@ -5,8 +5,6 @@ obj-y += pci.o bus.o pci_iomap.o ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG -CPPFLAGS += $(ccflags-y) - obj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o pci-mvebu-phy.o obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o obj-$(CONFIG_PCIE_DW) += pcie-designware.o pcie-designware-host.o |