nb/amd/mct_ddr3: Warn if MaxRdLatency training fails on Family 15h

Change-Id: Idb948acd1a508379f600fbd2fd40fb26b7571d7c
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: https://review.coreboot.org/14545
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Timothy Pearson 2016-04-29 01:40:30 -05:00
parent 2bb1d30d69
commit ac6bd5b037
1 changed files with 3 additions and 0 deletions

View File

@ -1690,6 +1690,9 @@ static void dqsTrainMaxRdLatency_SW_Fam15(struct MCTStatStruc *pMCTstat,
break; break;
Set_NB32_index_wait_DCT(dev, Channel, index_reg, 0x00000050, 0x13131313); Set_NB32_index_wait_DCT(dev, Channel, index_reg, 0x00000050, 0x13131313);
} }
dword = Get_NB32_DCT(dev, Channel, 0x268) & 0x3ffff;
if (dword)
printk(BIOS_ERR, "WARNING: MaxRdLatency training FAILED! Attempting to continue but your system may be unstable...\n");
/* 2.10.5.8.5.1.5 */ /* 2.10.5.8.5.1.5 */
nb_pstate = 0; nb_pstate = 0;