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

modules.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4430 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Zheng Bao 2009-07-17 05:41:34 +00:00 committed by Zheng Bao
parent 782de9aa5e
commit b17f9528cd
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ static void Get_ChannelPS_Cfg0_D( u8 MAAdimms, u8 Speed, u8 MAAload,
*AddrTmgCTL = 0x002F2F00; *AddrTmgCTL = 0x002F2F00;
else if (Speed == 4) else if (Speed == 4)
*AddrTmgCTL = 0x00202520; *AddrTmgCTL = 0x00202520;
else if (Speed == 4) else if (Speed == 5)
*AddrTmgCTL = 0x002F2020; *AddrTmgCTL = 0x002F2020;
else else
*AddrTmgCTL = 0x002F2F2F; *AddrTmgCTL = 0x002F2F2F;
@ -130,7 +130,7 @@ static void Get_ChannelPS_Cfg0_D( u8 MAAdimms, u8 Speed, u8 MAAload,
*CMDmode = 2; *CMDmode = 2;
*AddrTmgCTL = 0x00202520; *AddrTmgCTL = 0x00202520;
*ODC_CTL = 0x00113222; *ODC_CTL = 0x00113222;
} else if(Speed == 4) { } else if(Speed == 5) {
*CMDmode = 2; *CMDmode = 2;
*AddrTmgCTL = 0x002F2020; *AddrTmgCTL = 0x002F2020;
*ODC_CTL = 0x00113222; *ODC_CTL = 0x00113222;