Skip to contentSkip to conversation

MPC8544DS: decode pcie3 end-point configuration correctly.

PATCH New Kumar Gala 2 participants 2 messages Apr 25, 2008

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 MPC8544DS: decode pcie3 end-point configuration correctly.

From: Ed Swarthout <[email protected]>

---
 board/freescale/mpc8544ds/mpc8544ds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/freescale/mpc8544ds/mpc8544ds.c +1 -1
index 8107016..dd10af8 100644
@@ -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)){
Signature · 1 line
1.5.4.1
#1 lore raw

PATCH 1/1 MPC8544DS: decode pcie3 end-point configuration correctly.

Quoted 7 lines · In message <[email protected]> you wrote:

From: Ed Swarthout <[email protected]>

---
 board/freescale/mpc8544ds/mpc8544ds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Was hei?t Windows auf Indianisch? - "Wei?er  Mann,  der  auf  Sanduhr
wartet!"