]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/pci/pci.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / drivers / pci / pci.c
index 16180cbe51ae5bd8112b95767622c02e06526b2a..41780dbe74130e889f13bcf3460f936fce2be69d 100644 (file)
@@ -30,8 +30,6 @@
 
 #include <common.h>
 
-#ifdef CONFIG_PCI
-
 #include <command.h>
 #include <asm/processor.h>
 #include <asm/io.h>
@@ -159,7 +157,7 @@ pci_dev_t pci_find_devices(struct pci_device_id *ids, int index)
 
        for (hose = hose_head; hose; hose = hose->next)
        {
-#ifdef CFG_SCSI_SCAN_BUS_REVERSE
+#ifdef CONFIG_SYS_SCSI_SCAN_BUS_REVERSE
                for (bus = hose->last_busno; bus >= hose->first_busno; bus--)
 #else
                for (bus = hose->first_busno; bus <= hose->last_busno; bus++)
@@ -544,5 +542,3 @@ void pci_init(void)
        /* now call board specific pci_init()... */
        pci_init_board();
 }
-
-#endif /* CONFIG_PCI */