For Cx, each ChipSel need to be sent MR command.
authorZheng Bao <zheng.bao@amd.com>
Thu, 20 Jan 2011 02:09:24 +0000 (02:09 +0000)
committerZheng Bao <Zheng.Bao@amd.com>
Thu, 20 Jan 2011 02:09:24 +0000 (02:09 +0000)
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@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6276 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c

index 3318896fe48a2e450a70ded1aff8fd92a0cb73c1..23605715b9c9d51b73565194be71d49dfa6f80f7 100644 (file)
@@ -306,7 +306,7 @@ void mct_DramInit_Sw_D(struct MCTStatStruc *pMCTstat,
                                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 */)) /* TODO: We dont support RB_C0 now. need to be added and tested. */
                        if (!(pDCTstat->Status & (1 << SB_Registered)))
                                MrsChipSel ++;
        }