Multi-DIMMS on AMD ddr2 MCT channel B fixed.

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
This commit is contained in:
Kerry She 2010-08-30 09:40:41 +00:00 committed by Kerry She
parent 99cfa1e6bd
commit 819ee74888
1 changed files with 2 additions and 2 deletions

View File

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