Trivial syntax correction of AMD mct_ddr3 dir.

Signed-off-by: Kerry She <Kerry.she@amd.com>
Acked-by: Kerry She <Kerry.she@amd.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5747 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Kerry She 2010-08-30 07:24:13 +00:00 committed by Zheng Bao
parent f7b98f5766
commit 108d30ba86
2 changed files with 5 additions and 5 deletions

View file

@ -2030,7 +2030,7 @@ static u8 DIMMPresence_D(struct MCTStatStruc *pMCTstat,
RegDIMMPresent = 0;
pDCTstat->DimmQRPresent = 0;
for (i = 0; i< MAX_DIMMS_SUPPORTED; i++) {
for (i = 0; i < MAX_DIMMS_SUPPORTED; i++) {
if (i >= MaxDimms)
break;
@ -2214,7 +2214,7 @@ static void mct_initDCT(struct MCTStatStruc *pMCTstat,
} else {
/* Configure DCT1 if unganged and enabled*/
if (!pDCTstat->GangedMode) {
if ( pDCTstat->DIMMValidDCT[1] > 0) {
if (pDCTstat->DIMMValidDCT[1] > 0) {
err_code = pDCTstat->ErrCode; /* save DCT0 errors */
pDCTstat->ErrCode = 0;
DCTInit_D(pMCTstat, pDCTstat, 1);
@ -2512,7 +2512,7 @@ static u8 mct_DIMMPresence(struct MCTStatStruc *pMCTstat,
{
u8 ret;
if ( dct == 0)
if (dct == 0)
ret = DIMMPresence_D(pMCTstat, pDCTstat);
else
ret = pDCTstat->ErrCode;

View file

@ -446,9 +446,9 @@ static void dqsTrainRcvrEn_SW(struct MCTStatStruc *pMCTstat,
printk(BIOS_DEBUG, "TrainRcvrEn: CH_D_B_RCVRDLY:\n");
for(Channel = 0; Channel < 2; Channel++) {
printk(BIOS_DEBUG, "Channel:%x\n");
printk(BIOS_DEBUG, "Channel:%x\n", Channel);
for(Receiver = 0; Receiver<8; Receiver+=2) {
printk(BIOS_DEBUG, "\t\tReceiver:%x:");
printk(BIOS_DEBUG, "\t\tReceiver:%x:", Receiver);
p = pDCTstat->CH_D_B_RCVRDLY[Channel][Receiver>>1];
for (i=0;i<8; i++) {
val = p[i];