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

Zheng

Signed-off-by: Zheng Bao <[email protected]>

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;

Attachment: AMD_fam10_AM2r2_fix_bug.patch
Description: AMD_fam10_AM2r2_fix_bug.patch

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to