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:
parent
99cfa1e6bd
commit
819ee74888
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue