]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/amcc/canyonlands/canyonlands.c
ppc4xx: Remove duplicated is_pci_host() functions
[karo-tx-uboot.git] / board / amcc / canyonlands / canyonlands.c
index 8ce6788d439bd4128e3a8bfbfc28ec3c2ac35fc4..9a8ca8eceab3b6d149bf9255b8a112528a9ae864 100644 (file)
@@ -364,25 +364,6 @@ void pci_target_init(struct pci_controller * hose )
 #endif /* defined(CONFIG_PCI) && defined(CONFIG_SYS_PCI_TARGET_INIT) */
 
 #if defined(CONFIG_PCI)
-/*
- * 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.
- */
-int is_pci_host(struct pci_controller *hose)
-{
-       /* Board is always configured as host. */
-       return (1);
-}
-
 int board_pcie_first(void)
 {
        /*