Trivial. Re-indent the code.
Signed-off-by: Zheng Bao <zheng.bao@amd.com> Acked-by: Zheng Bao <zheng.bao@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5889 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
4292684e1a
commit
52000e1688
|
@ -65,9 +65,9 @@ void InterleaveChannels_D(struct MCTStatStruc *pMCTstat,
|
|||
DramBase = pDCTstat->NodeSysBase >> 8;
|
||||
dct1_size = ((pDCTstat->NodeSysLimit) + 2) >> 8;
|
||||
dct0_size = Get_NB32(pDCTstat->dev_dct, 0x114);
|
||||
if (dct0_size >= 0x10000) {
|
||||
dct0_size -= HoleSize;
|
||||
}
|
||||
if (dct0_size >= 0x10000) {
|
||||
dct0_size -= HoleSize;
|
||||
}
|
||||
|
||||
dct0_size -= DramBase;
|
||||
dct1_size -= dct0_size;
|
||||
|
|
|
@ -961,7 +961,7 @@ static void CalcEccDQSRcvrEn_D(struct MCTStatStruc *pMCTstat,
|
|||
val += val0;
|
||||
}
|
||||
|
||||
pDCTstat->CH_D_BC_RCVRDLY[Channel][ChipSel>>1] = val;
|
||||
pDCTstat->CH_D_BC_RCVRDLY[Channel][ChipSel>>1] = val;
|
||||
}
|
||||
}
|
||||
SetEccDQSRcvrEn_D(pDCTstat, Channel);
|
||||
|
@ -979,8 +979,8 @@ void mctSetEccDQSRcvrEn_D(struct MCTStatStruc *pMCTstat,
|
|||
if (!pDCTstat->NodePresent)
|
||||
break;
|
||||
if (pDCTstat->DCTSysLimit) {
|
||||
for(i=0; i<2; i++)
|
||||
CalcEccDQSRcvrEn_D(pMCTstat, pDCTstat, i);
|
||||
for(i=0; i<2; i++)
|
||||
CalcEccDQSRcvrEn_D(pMCTstat, pDCTstat, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -220,8 +220,8 @@ static void mct_setMaxRdLatTrnVal_D(struct DCTStatStruc *pDCTstat,
|
|||
|
||||
if (pDCTstat->GangedMode) {
|
||||
Channel = 0; // for safe
|
||||
for (i=0; i<2; i++)
|
||||
pDCTstat->CH_MaxRdLat[i] = MaxRdLatVal;
|
||||
for (i=0; i<2; i++)
|
||||
pDCTstat->CH_MaxRdLat[i] = MaxRdLatVal;
|
||||
} else {
|
||||
pDCTstat->CH_MaxRdLat[Channel] = MaxRdLatVal;
|
||||
}
|
||||
|
|
|
@ -61,9 +61,9 @@ void InterleaveChannels_D(struct MCTStatStruc *pMCTstat,
|
|||
DramBase = pDCTstat->NodeSysBase >> 8;
|
||||
dct1_size = ((pDCTstat->NodeSysLimit) + 2) >> 8;
|
||||
dct0_size = Get_NB32(pDCTstat->dev_dct, 0x114);
|
||||
if (dct0_size >= 0x10000) {
|
||||
dct0_size -= HoleSize;
|
||||
}
|
||||
if (dct0_size >= 0x10000) {
|
||||
dct0_size -= HoleSize;
|
||||
}
|
||||
|
||||
dct0_size -= DramBase;
|
||||
dct1_size -= dct0_size;
|
||||
|
|
|
@ -914,7 +914,7 @@ static void CalcEccDQSRcvrEn_D(struct MCTStatStruc *pMCTstat,
|
|||
val += val1;
|
||||
}
|
||||
|
||||
pDCTstat->CH_D_BC_RCVRDLY[Channel][ChipSel>>1] = val;
|
||||
pDCTstat->CH_D_BC_RCVRDLY[Channel][ChipSel>>1] = val;
|
||||
}
|
||||
}
|
||||
SetEccDQSRcvrEn_D(pDCTstat, Channel);
|
||||
|
@ -932,8 +932,8 @@ void mctSetEccDQSRcvrEn_D(struct MCTStatStruc *pMCTstat,
|
|||
if (!pDCTstat->NodePresent)
|
||||
break;
|
||||
if (pDCTstat->DCTSysLimit) {
|
||||
for(i=0; i<2; i++)
|
||||
CalcEccDQSRcvrEn_D(pMCTstat, pDCTstat, i);
|
||||
for(i=0; i<2; i++)
|
||||
CalcEccDQSRcvrEn_D(pMCTstat, pDCTstat, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -213,8 +213,8 @@ static void mct_setMaxRdLatTrnVal_D(struct DCTStatStruc *pDCTstat,
|
|||
|
||||
if (pDCTstat->GangedMode) {
|
||||
Channel = 0; /* for safe */
|
||||
for (i=0; i<2; i++)
|
||||
pDCTstat->CH_MaxRdLat[i] = MaxRdLatVal;
|
||||
for (i=0; i<2; i++)
|
||||
pDCTstat->CH_MaxRdLat[i] = MaxRdLatVal;
|
||||
} else {
|
||||
pDCTstat->CH_MaxRdLat[Channel] = MaxRdLatVal;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue