summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/lib/pci_ops_mmconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/lib/pci_ops_mmconf.c')
-rw-r--r--src/arch/i386/lib/pci_ops_mmconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/lib/pci_ops_mmconf.c b/src/arch/i386/lib/pci_ops_mmconf.c
index c037a7b..a605708 100644
--- a/src/arch/i386/lib/pci_ops_mmconf.c
+++ b/src/arch/i386/lib/pci_ops_mmconf.c
@@ -1,4 +1,4 @@
-#if MMCONF_SUPPORT
+#if CONFIG_MMCONF_SUPPORT
#include <console/console.h>
#include <arch/io.h>
@@ -13,7 +13,7 @@
*/
#define PCI_MMIO_ADDR(SEGBUS, DEVFN, WHERE) ( \
- MMCONF_BASE_ADDRESS | \
+ CONFIG_MMCONF_BASE_ADDRESS | \
(((SEGBUS) & 0xFFF) << 20) | \
(((DEVFN) & 0xFF) << 12) | \
((WHERE) & 0xFFF))
OpenPOWER on IntegriCloud