[POWERPC] 4xx: Set ibpre for 405EX in 4xx PCIe driver
authorStefan Roese <sr@denx.de>
Fri, 7 Dec 2007 09:34:34 +0000 (20:34 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sun, 23 Dec 2007 19:31:37 +0000 (13:31 -0600)
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>
arch/powerpc/sysdev/ppc4xx_pci.c

index a656dc004b82522e7e77473966b0ed0ad48079e1..3c2c14c32e7632dd344025d3dcea314bbb2e6e95 100644 (file)
@@ -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 */
 
+       port->has_ibpre = 1;
+
        return 0;
 }