summaryrefslogtreecommitdiffstats
path: root/board/mpl/common/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/mpl/common/pci.c')
-rw-r--r--board/mpl/common/pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/mpl/common/pci.c b/board/mpl/common/pci.c
index 692930b416..bde14beeb1 100644
--- a/board/mpl/common/pci.c
+++ b/board/mpl/common/pci.c
@@ -32,7 +32,7 @@
#ifdef CONFIG_405GP
#ifdef CONFIG_PCI
-#undef DEBUG
+DECLARE_GLOBAL_DATA_PTR;
#include "piix4_pci.h"
#include "pci_parts.h"
@@ -94,7 +94,6 @@ static struct pci_controller hose = {
static void reloc_pci_cfg_table(struct pci_config_table *table)
{
- DECLARE_GLOBAL_DATA_PTR;
unsigned long addr;
for (; table && table->vendor; table++) {
OpenPOWER on IntegriCloud