From patchwork Fri Sep 3 10:13:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/2] Amd_ddr2_mct_InitPhyCompensation Date: Fri, 03 Sep 2010 10:13:27 -0000 From: She, Kerry X-Patchwork-Id: 1856 Message-Id: To: Hello, AMD DDR2 MCT function InitPhyCompensation() compliant with AGESA code. Signed-off-by: Kerry She Index: src/northbridge/amd/amdmct/mct/mct_d.c =================================================================== --- src/northbridge/amd/amdmct/mct/mct_d.c (revision 5773) +++ src/northbridge/amd/amdmct/mct/mct_d.c (working copy) @@ -3461,9 +3461,10 @@ i = 0; /* use i for the dct setting required */ if (pDCTstat->MAdimms[0] < 4) i = 1; - if (((pDCTstat->Speed == 2) || (pDCTstat->Speed == 3)) && (pDCTstat->MAdimms[i] == 4)) + if (((pDCTstat->Speed == 2) || (pDCTstat->Speed == 3)) && (pDCTstat->MAdimms[i] == 4)) { dword &= 0xF18FFF18; index_reg = 0x98; /* force dct = 0 */ + } } Set_NB32_index_wait(dev, index_reg, 0x0a, dword);