This is an obvious bug which I overlooked when I worked on the AM2r2
[coreboot.git] / src / northbridge / amd / amdmct / mct / mctardk4.c
index 8682e52551b3727024dc8b850ebcaa58590da2f7..a3592d470e82acd2521ab377e2bc9761cac74748 100644 (file)
@@ -121,7 +121,7 @@ static void Get_ChannelPS_Cfg0_D( u8 MAAdimms, u8 Speed, u8 MAAload,
                        *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 @@ static void Get_ChannelPS_Cfg0_D( u8 MAAdimms, u8 Speed, u8 MAAload,
                        *CMDmode = 2;
                        *AddrTmgCTL = 0x00202520;
                        *ODC_CTL = 0x00113222;
-               } else if(Speed == 4) {
+               } else if(Speed == 5) {
                        *CMDmode = 2;
                        *AddrTmgCTL = 0x002F2020;
                        *ODC_CTL = 0x00113222;