mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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:
parent
f7b98f5766
commit
108d30ba86
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue