Merge branch 'master' of git://www.denx.de/git/u-boot into new-image
[oweals/u-boot.git] / board / mpl / common / pci.c
index 692930b41639d5e55f800cf0d8199fd8c39112f2..bde14beeb168f3d9f33ec7c8dda4e7007c5f48d1 100644 (file)
@@ -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++) {