From b17f9528cd1b04fe312475b3a05eae331beb9734 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Fri, 17 Jul 2009 05:41:34 +0000 Subject: [PATCH] This is an obvious bug which I overlooked when I worked on the AM2r2 modules. Signed-off-by: Zheng Bao Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4430 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdmct/mct/mctardk4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/northbridge/amd/amdmct/mct/mctardk4.c b/src/northbridge/amd/amdmct/mct/mctardk4.c index 8682e52551..a3592d470e 100644 --- a/src/northbridge/amd/amdmct/mct/mctardk4.c +++ b/src/northbridge/amd/amdmct/mct/mctardk4.c @@ -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;