summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-02-18 13:18:00 +0100
committerStefan Roese <sr@denx.de>2009-02-18 15:59:20 +0100
commitb4996d6b2140e5da7f1c346f37a67b19907b307a (patch)
tree08d13dfbf7e1910ca707445f9a95229b00656f0b /cpu
parentf50fe4bd613c6d35a2c34055f02e9501dd6a9ad5 (diff)
downloadu-boot-imx-b4996d6b2140e5da7f1c346f37a67b19907b307a.zip
u-boot-imx-b4996d6b2140e5da7f1c346f37a67b19907b307a.tar.gz
u-boot-imx-b4996d6b2140e5da7f1c346f37a67b19907b307a.tar.bz2
ppc4xx: PCIe: Change 16GB inbound memory to 4GB
This patch fixes a problem recently seen on some 4xx platforms. For example on Kilauea PCIe slot #0. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/4xx_pcie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/4xx_pcie.c b/cpu/ppc4xx/4xx_pcie.c
index 58d96bb..07fbb0e 100644
--- a/cpu/ppc4xx/4xx_pcie.c
+++ b/cpu/ppc4xx/4xx_pcie.c
@@ -1028,10 +1028,10 @@ void ppc4xx_setup_pcie_rootpoint(struct pci_controller *hose, int port)
#endif
}
- /* Set up 16GB inbound memory window at 0 */
+ /* Set up 4GB inbound memory window at 0 */
out_le32(mbase + PCI_BASE_ADDRESS_0, 0);
out_le32(mbase + PCI_BASE_ADDRESS_1, 0);
- out_le32(mbase + PECFG_BAR0HMPA, 0x7fffffc);
+ out_le32(mbase + PECFG_BAR0HMPA, 0x7ffffff);
out_le32(mbase + PECFG_BAR0LMPA, 0);
out_le32(mbase + PECFG_PIM01SAH, 0xffff0000);