summaryrefslogtreecommitdiff
path: root/board/freescale/p1_p2_rdb/pci.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-11-04 01:29:04 -0600
committerKumar Gala <galak@kernel.crashing.org>2009-11-04 09:14:59 -0600
commit01471d538fb163f472a769f21267d7676c91267c (patch)
tree8dbfbb2ffa65a4788539bc51768de636b0acdf64 /board/freescale/p1_p2_rdb/pci.c
parentff88229549e08fdd3f9127c1cc4db11a3576250f (diff)
Revert "ppc/85xx/pci: fsl_pci_init: pcie agent mode support"
This reverts commit 70ed869ea5f6b1d13d7b140c83ec0dcd8a127ddc. There isn't any need to modify the API for fsl_pci_init_port to pass the status of host/agent(end-point) status. We can determine that internally to fsl_pci_init_port. Revert the patch that makes the API change. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/p1_p2_rdb/pci.c')
-rw-r--r--board/freescale/p1_p2_rdb/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/p1_p2_rdb/pci.c b/board/freescale/p1_p2_rdb/pci.c
index 7736596738..4c08f9efa0 100644
--- a/board/freescale/p1_p2_rdb/pci.c
+++ b/board/freescale/p1_p2_rdb/pci.c
@@ -71,7 +71,7 @@ void pci_init_board(void)
pcie_ep ? "End Point" : "Root Complex",
pci_info[num].regs);
first_free_busno = fsl_pci_init_port(&pci_info[num++],
- &pcie2_hose, first_free_busno, pcie_ep);
+ &pcie2_hose, first_free_busno);
} else {
printf (" PCIE2: disabled\n");
}
@@ -90,7 +90,7 @@ void pci_init_board(void)
pcie_ep ? "End Point" : "Root Complex",
pci_info[num].regs);
first_free_busno = fsl_pci_init_port(&pci_info[num++],
- &pcie1_hose, first_free_busno, pcie_ep);
+ &pcie1_hose, first_free_busno);
} else {
printf (" PCIE1: disabled\n");
}