[POWERPC] ppc: Fix PCIX configuration of Ocotea & Taishan for > 512MB DDR
authorStefan Roese <sr@denx.de>
Fri, 16 Mar 2007 20:06:00 +0000 (21:06 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 26 Mar 2007 02:35:11 +0000 (12:35 +1000)
Change the configuration of the PCIX PCI->PLB inbound memory window
to be 2GB instead of 512kB. The comment already mentioned 2GB, but the
code unfortunately didn't reflect this.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/platforms/4xx/ocotea.c
arch/ppc/platforms/4xx/taishan.c

index 84e999d9a7bb950494675f6f09dd49c25ed6ffff..c8017c9f1326fc856665da9098a8d41fc0e84966 100644 (file)
@@ -178,7 +178,7 @@ ocotea_setup_pcix(void)
        /* Setup 2GB PCI->PLB inbound memory window at 0, enable MSIs */
        PCIX_WRITEL(0x00000000, PCIX0_PIM0LAH);
        PCIX_WRITEL(0x00000000, PCIX0_PIM0LAL);
-       PCIX_WRITEL(0xe0000007, PCIX0_PIM0SA);
+       PCIX_WRITEL(0x80000007, PCIX0_PIM0SA);
 
        eieio();
 }
index bb0253eef45ab0c19bd739e1e1ba3a478160317c..5d9af8ddb155d84da625a147c2bf19b582ba0498 100644 (file)
@@ -235,7 +235,7 @@ taishan_setup_pcix(void)
        /* Setup 2GB PCI->PLB inbound memory window at 0, enable MSIs */
        PCIX_WRITEL(0x00000000, PCIX0_PIM0LAH);
        PCIX_WRITEL(0x00000000, PCIX0_PIM0LAL);
-       PCIX_WRITEL(0xe0000007, PCIX0_PIM0SA);
+       PCIX_WRITEL(0x80000007, PCIX0_PIM0SA);
        PCIX_WRITEL(0xffffffff, PCIX0_PIM0SAH);
 
        iounmap(pcix_reg_base);