Patchwork AMD ddr MCT channelB patch

login
register
about
Submitter She, Kerry
Date 2010-08-30 07:06:32
Message ID <F53A09371FB723428826B442A4B20A4103EC2FEC@sbjgexmb1.amd.com>
Download mbox | patch
Permalink /patch/1812/
State Accepted
Commit r5749
Headers show

Comments

She, Kerry - 2010-08-30 07:06:32
Hi,

 

Multi-DIMMS on AMD ddr MCT channel B fixed.

 

Signed-off-by: Kerry She <Kerry.she@amd.com>
Stefan Reinauer - 2010-08-30 09:32:45
>
> Hi,
>
>  
>
> Multi-DIMMS on AMD ddr MCT channel B fixed.
>
>  
>
> Signed-off-by: Kerry She <Kerry.she@amd.com <mailto:Kerry.she@amd.com>>
>
>  
>
Acked-by: Stefan Reinauer <stepan@coresystems.de>

Patch

Index: src/northbridge/amd/amdmct/mct/mctdqs_d.c
===================================================================
--- src/northbridge/amd/amdmct/mct/mctdqs_d.c	(revision 5746)
+++ src/northbridge/amd/amdmct/mct/mctdqs_d.c	(working copy)
@@ -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;