summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-12-07 10:34:34 +0100
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-12-23 20:31:37 +0100
commit55aaf6ecf796b809100abfbdf359ef8309a7aac9 (patch)
tree34a7e21f5b19b0348ecd2fcb468575c4f215a5f9 /arch/powerpc/sysdev
parent[POWERPC] 4xx: Add Kilauea PCIe support to dts and Kconfig (diff)
downloadlinux-55aaf6ecf796b809100abfbdf359ef8309a7aac9.tar.xz
linux-55aaf6ecf796b809100abfbdf359ef8309a7aac9.zip
[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>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/ppc4xx_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/ppc4xx_pci.c b/arch/powerpc/sysdev/ppc4xx_pci.c
index a656dc004b82..3c2c14c32e76 100644
--- a/arch/powerpc/sysdev/ppc4xx_pci.c
+++ b/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 */
+ port->has_ibpre = 1;
+
return 0;
}