Author: kerry Date: Mon Aug 30 11:40:41 2010 New Revision: 5749 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5749
Log: 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
Modified: trunk/src/northbridge/amd/amdmct/mct/mctdqs_d.c
Modified: trunk/src/northbridge/amd/amdmct/mct/mctdqs_d.c ============================================================================== --- trunk/src/northbridge/amd/amdmct/mct/mctdqs_d.c Mon Aug 30 09:31:31 2010 (r5748) +++ trunk/src/northbridge/amd/amdmct/mct/mctdqs_d.c Mon Aug 30 11:40:41 2010 (r5749) @@ -1086,12 +1086,12 @@ *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;