summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-05 12:25:31 -0700
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:09 -0600
commita219daeafef4df1b219db68c80116d82113c82b2 (patch)
treec6e22aaa30e02a998a34df18bcf8529321fe062d /arch/x86/lib
parenta33aca10ac962ef54e2c9abbcc17c532f046bd74 (diff)
downloadtalos-obmc-uboot-a219daeafef4df1b219db68c80116d82113c82b2.tar.gz
talos-obmc-uboot-a219daeafef4df1b219db68c80116d82113c82b2.zip
dm: x86: pci: Add a PCI driver for driver model
Add a simple x86 PCI driver which uses standard functions provided by the architecture. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile
index c17f7f088b..67a34d8f56 100644
--- a/arch/x86/lib/Makefile
+++ b/arch/x86/lib/Makefile
@@ -17,7 +17,9 @@ obj-y += interrupts.o
obj-y += cmd_mtrr.o
obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
+ifndef CONFIG_DM_PCI
obj-$(CONFIG_PCI) += pci_type1.o
+endif
obj-y += relocate.o
obj-y += physmem.o
obj-$(CONFIG_X86_RAMTEST) += ramtest.o
OpenPOWER on IntegriCloud