]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ppc4xx: PCIe: Change 16GB inbound memory to 4GB
authorStefan Roese <sr@denx.de>
Wed, 18 Feb 2009 12:18:00 +0000 (13:18 +0100)
committerStefan Roese <sr@denx.de>
Wed, 18 Feb 2009 14:59:20 +0000 (15:59 +0100)
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>
cpu/ppc4xx/4xx_pcie.c

index 58d96bb5af3c035cea802ec86f40a2b02b447775..07fbb0e643f985c2167dea75c4cc2f4160cee095 100644 (file)
@@ -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);