]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/korat/korat.c
ppc4xx: Remove duplicated is_pci_host() functions
[karo-tx-uboot.git] / board / korat / korat.c
index 8c674a20953bd9330bf30c9884ce0e3ec8bab89f..b0e6a56a63c0bf5cf8f755184e3b98df97ff40e1 100644 (file)
@@ -748,27 +748,6 @@ void pci_master_init(struct pci_controller *hose)
 }
 #endif
 
-/*
- * is_pci_host
- *
- * This routine is called to determine if a pci scan should be
- * performed. With various hardware environments (especially cPCI and
- * PPMC) it's insufficient to depend on the state of the arbiter enable
- * bit in the strap register, or generic host/adapter assumptions.
- *
- * Rather than hard-code a bad assumption in the general 440 code, the
- * 440 pci code requires the board to decide at runtime.
- *
- * Return 0 for adapter mode, non-zero for host (monarch) mode.
- */
-#if defined(CONFIG_PCI)
-int is_pci_host(struct pci_controller *hose)
-{
-       /* Korat is always configured as host. */
-       return (1);
-}
-#endif /* defined(CONFIG_PCI) */
-
 #if defined(CONFIG_POST)
 /*
  * Returns 1 if keys pressed to start the power-on long-running tests