]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/pcs440ep/pcs440ep.c
ppc4xx: Add pci_pre_init() for 405 boards
[karo-tx-uboot.git] / board / pcs440ep / pcs440ep.c
index 8858f0a5e542d5a7d7bd1c33bfc7954e5ceac950..b73ab2adecce4cf93dcd0648dd68fbdee967da07 100644 (file)
@@ -217,7 +217,7 @@ int testdram(void)
  *     certain pre-initialization actions.
  *
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller *hose)
 {
        unsigned long addr;
@@ -258,7 +258,7 @@ int pci_pre_init(struct pci_controller *hose)
 
        return 1;
 }
-#endif                         /* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
 
 /*************************************************************************
  *  pci_target_init