瀏覽代碼

[POWERPC] 4xx: Set ibpre for 405EX in 4xx PCIe driver

This patch sets the ibpre flag (Inbound Presence) for the 405EX
in the 4xx PCIe driver.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Stefan Roese 17 年之前
父節點
當前提交
55aaf6ecf7
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/powerpc/sysdev/ppc4xx_pci.c

+ 2 - 0
arch/powerpc/sysdev/ppc4xx_pci.c

@@ -844,6 +844,8 @@ static int ppc405ex_pciex_init_port_hw(struct ppc4xx_pciex_port *port)
 
 
 	dcr_write(port->dcrs, DCRO_PEGPL_CFG, 0x10000000);  /* guarded on */
 	dcr_write(port->dcrs, DCRO_PEGPL_CFG, 0x10000000);  /* guarded on */
 
 
+	port->has_ibpre = 1;
+
 	return 0;
 	return 0;
 }
 }