From 819ee74888c7c482cfec037b28dc37bbc2fb1ef1 Mon Sep 17 00:00:00 2001 From: Kerry She Date: Mon, 30 Aug 2010 09:40:41 +0000 Subject: [PATCH] Multi-DIMMS on AMD ddr2 MCT channel B fixed. Signed-off-by: Kerry She Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5749 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdmct/mct/mctdqs_d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/northbridge/amd/amdmct/mct/mctdqs_d.c b/src/northbridge/amd/amdmct/mct/mctdqs_d.c index f3d880a00e..26205200fd 100644 --- a/src/northbridge/amd/amdmct/mct/mctdqs_d.c +++ b/src/northbridge/amd/amdmct/mct/mctdqs_d.c @@ -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;