summaryrefslogtreecommitdiff
path: root/arch/arm/mach-dove/Makefile
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-09-09 19:34:13 (GMT)
committerJason Cooper <jason@lakedaemon.net>2012-09-21 17:07:26 (GMT)
commit0f81bd438bed6af47a01a97d5ecbb23a7e478de6 (patch)
tree68b0e659341e30fe337de9b7963f092945c90803 /arch/arm/mach-dove/Makefile
parent1f5e6c639e25de9f059ea0e0181a5baeb3b3f4bf (diff)
downloadlinux-fsl-qoriq-0f81bd438bed6af47a01a97d5ecbb23a7e478de6.tar.xz
ARM: Dove: allow PCI to be disabled
Allow PCI support for Dove to be disabled. Some platforms do not have anything connected to the PCIe ports, so requiring PCI support to be built into the kernel just wastes space, and presents a lot more config options than are necessary. However, select USB_ARCH_HAS_EHCI so that we can still have EHCI support. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-dove/Makefile')
-rw-r--r--arch/arm/mach-dove/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-dove/Makefile b/arch/arm/mach-dove/Makefile
index fa0f018..5e683ba 100644
--- a/arch/arm/mach-dove/Makefile
+++ b/arch/arm/mach-dove/Makefile
@@ -1,4 +1,4 @@
-obj-y += common.o addr-map.o irq.o pcie.o mpp.o
-
+obj-y += common.o addr-map.o irq.o mpp.o
+obj-$(CONFIG_PCI) += pcie.o
obj-$(CONFIG_MACH_DOVE_DB) += dove-db-setup.o
obj-$(CONFIG_MACH_CM_A510) += cm-a510.o