[coreboot] [commit] r5747 - trunk/src/northbridge/amd/amdmct/mct_ddr3
repository service
svn at coreboot.org
Mon Aug 30 09:24:13 CEST 2010
Author: zbao
Date: Mon Aug 30 09:24:13 2010
New Revision: 5747
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5747
Log:
Trivial syntax correction of AMD mct_ddr3 dir.
Signed-off-by: Kerry She <Kerry.she at amd.com>
Acked-by: Kerry She <Kerry.she at amd.com>
Modified:
trunk/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
trunk/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c
Modified: trunk/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
==============================================================================
--- trunk/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c Sun Aug 29 01:23:47 2010 (r5746)
+++ trunk/src/northbridge/amd/amdmct/mct_ddr3/mct_d.c Mon Aug 30 09:24:13 2010 (r5747)
@@ -2030,7 +2030,7 @@
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 @@
} 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 @@
{
u8 ret;
- if ( dct == 0)
+ if (dct == 0)
ret = DIMMPresence_D(pMCTstat, pDCTstat);
else
ret = pDCTstat->ErrCode;
Modified: trunk/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c
==============================================================================
--- trunk/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c Sun Aug 29 01:23:47 2010 (r5746)
+++ trunk/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c Mon Aug 30 09:24:13 2010 (r5747)
@@ -446,9 +446,9 @@
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];
More information about the coreboot
mailing list