[coreboot] [patch] A bug in AMD fam10 am2r2 module

Bao, Zheng Zheng.Bao at amd.com
Fri Jul 17 06:00:58 CEST 2009


This is an obvious bug which I overlooked when I worked on the AM2r2
modules.

Zheng

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

Index: src/northbridge/amd/amdmct/mct/mctardk4.c
===================================================================
--- src/northbridge/amd/amdmct/mct/mctardk4.c	(revision 4427)
+++ src/northbridge/amd/amdmct/mct/mctardk4.c	(working copy)
@@ -121,7 +121,7 @@
 			*AddrTmgCTL = 0x002F2F00;
 		else if (Speed == 4)
 			*AddrTmgCTL = 0x00202520;
-		else if (Speed == 4)
+		else if (Speed == 5)
 			*AddrTmgCTL = 0x002F2020;
 		else
 			*AddrTmgCTL = 0x002F2F2F;
@@ -130,7 +130,7 @@
 			*CMDmode = 2;
 			*AddrTmgCTL = 0x00202520;
 			*ODC_CTL = 0x00113222;
-		} else if(Speed == 4) {
+		} else if(Speed == 5) {
 			*CMDmode = 2;
 			*AddrTmgCTL = 0x002F2020;
 			*ODC_CTL = 0x00113222;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AMD_fam10_AM2r2_fix_bug.patch
Type: application/octet-stream
Size: 808 bytes
Desc: AMD_fam10_AM2r2_fix_bug.patch
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090717/cb3893b5/attachment.obj>


More information about the coreboot mailing list