[coreboot] [patch] AMDMCT DDR3 fix Dual rank + high mem frequency.

Bao, Zheng Zheng.Bao at amd.com
Wed Jan 19 10:37:44 CET 2011


For Cx, each ChipSel need to be sent MR command.
After this patch, tilapia can run in higher memory frequency.
To test the high frequency, dont forget to change the freq limit in
mcti_d.c:
 static void mctGet_MaxLoadFreq(struct DCTStatStruc *pDCTstat)
 {
	 pDCTstat->PresetmaxFreq = 800;
 }

Signed-off-by: Zheng Bao <zheng.bao at amd.com>

Index: src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c
===================================================================
--- src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c	(revision 6275)
+++ src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c	(working copy)
@@ -306,7 +306,7 @@
 				if (!(pDCTstat->Status & (1 <<
SB_Registered)))
 					break; /* For UDIMM, only send
MR commands once per channel */
 		}
-		if (pDCTstat->LogicalCPUID & (AMD_DR_Cx/* | AMD_RB_C0
*/)) /* We dont support RB_C0 now. need to be added and tested. */
+		if (pDCTstat->LogicalCPUID & (AMD_DR_Bx/* | AMD_RB_C0
*/)) /* We dont support RB_C0 now. need to be added and tested. */
 			if (!(pDCTstat->Status & (1 << SB_Registered)))
 				MrsChipSel ++;
 	}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amdmct_ddr3_drank_fix.patch
Type: application/octet-stream
Size: 1058 bytes
Desc: amdmct_ddr3_drank_fix.patch
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110119/901995c1/attachment.obj>


More information about the coreboot mailing list