Multi-DIMMS on AMD ddr2 MCT channel B fixed.
authorKerry She <Kerry.she@amd.com>
Mon, 30 Aug 2010 09:40:41 +0000 (09:40 +0000)
committerKerry She <Kerry.She@amd.com>
Mon, 30 Aug 2010 09:40:41 +0000 (09:40 +0000)
Signed-off-by: Kerry She <Kerry.she@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5749 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/northbridge/amd/amdmct/mct/mctdqs_d.c

index f3d880a00e91bc9fe7bbc68e89ec7581d974f3aa..26205200fd3f0f9f804251549a5512eb0aa6af37 100644 (file)
@@ -1086,12 +1086,12 @@ u32 mct_GetMCTSysAddr_D(struct MCTStatStruc *pMCTstat,
        *valid = 0;
 
 
-       if (!pDCTstat->GangedMode)  {   // FIXME: not used.
+       if (!pDCTstat->GangedMode) {
                reg_off = 0x100 * Channel;
        }
 
        /* get the local base addr of the chipselect */
-       reg = 0x40 + (receiver << 2);
+       reg = 0x40 + (receiver << 2) + reg_off;
        val = Get_NB32(dev, reg);
 
        val &= ~0x0F;