summaryrefslogtreecommitdiff
path: root/src/arch/x86/pci_ops.c
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2018-05-04 16:29:13 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 03:01:35 +0000
commitd4ac11f6fa9581bc6a9007202c4594be636e0a47 (patch)
treed28506f121aa139f6faf1357fb5cedf2a5bee4df /src/arch/x86/pci_ops.c
parent3de303179ac8db5104a77c0f36e3640623057052 (diff)
downloadcoreboot-d4ac11f6fa9581bc6a9007202c4594be636e0a47.tar.xz
Move `pci_ops_mmconf` from arch/x86/ to device/
MMConf is not architecture specific. We also always provide a pci_bus_default_ops() now if MMCONF_SUPPORT is selected. Change-Id: I3f9b403da29d3fa81914cc1519710ba7d1bf2bb5 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/26062 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86/pci_ops.c')
-rw-r--r--src/arch/x86/pci_ops.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/arch/x86/pci_ops.c b/src/arch/x86/pci_ops.c
index 4fd916c865..82f9fd2644 100644
--- a/src/arch/x86/pci_ops.c
+++ b/src/arch/x86/pci_ops.c
@@ -18,8 +18,5 @@
const struct pci_bus_operations *pci_bus_default_ops(struct device *dev)
{
- if (IS_ENABLED(CONFIG_NO_MMCONF_SUPPORT))
- return &pci_cf8_conf1;
-
- return &pci_ops_mmconf;
+ return &pci_cf8_conf1;
}