summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8544ds
diff options
context:
space:
mode:
authorEd Swarthout <Ed.Swarthout@freescale.com>2008-04-25 01:08:32 -0500
committerWolfgang Denk <wd@denx.de>2008-04-26 00:25:30 +0200
commitf97abbfb47d9e407354e157cae3f6369e460cd37 (patch)
tree889d2084e880f3849054538896c28943b67945a4 /board/freescale/mpc8544ds
parent292188e15523c165c4269403fdcd33c26d89176e (diff)
downloadu-boot-imx-f97abbfb47d9e407354e157cae3f6369e460cd37.zip
u-boot-imx-f97abbfb47d9e407354e157cae3f6369e460cd37.tar.gz
u-boot-imx-f97abbfb47d9e407354e157cae3f6369e460cd37.tar.bz2
MPC8544DS: decode pcie3 end-point configuration correctly.
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8544ds')
-rw-r--r--board/freescale/mpc8544ds/mpc8544ds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8544ds/mpc8544ds.c b/board/freescale/mpc8544ds/mpc8544ds.c
index 8107016..dd10af8 100644
--- a/board/freescale/mpc8544ds/mpc8544ds.c
+++ b/board/freescale/mpc8544ds/mpc8544ds.c
@@ -163,7 +163,7 @@ pci_init_board(void)
volatile ccsr_fsl_pci_t *pci = (ccsr_fsl_pci_t *) CFG_PCIE3_ADDR;
extern void fsl_pci_init(struct pci_controller *hose);
struct pci_controller *hose = &pcie3_hose;
- int pcie_ep = (host_agent == 3);
+ int pcie_ep = (host_agent == 1);
int pcie_configured = io_sel >= 1;
if (pcie_configured && !(devdisr & MPC85xx_DEVDISR_PCIE)){