summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/amd/amdmct/wrappers/mcti_d.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/northbridge/amd/amdmct/wrappers/mcti_d.c b/src/northbridge/amd/amdmct/wrappers/mcti_d.c
index fecda0b24d..45f817791b 100644
--- a/src/northbridge/amd/amdmct/wrappers/mcti_d.c
+++ b/src/northbridge/amd/amdmct/wrappers/mcti_d.c
@@ -341,11 +341,10 @@ static void mctGet_MaxLoadFreq(struct DCTStatStruc *pDCTstat)
}
for (i = 0; i < 2; i++) {
- sDCTStruct *pDCTData = pDCTstat->C_DCTPtr[i];
highest_rank_count[i] = 0x0;
for (dimm = 0; dimm < MAX_DIMMS_SUPPORTED; dimm++) {
- if (pDCTData->DimmRanks[dimm] > highest_rank_count[i])
- highest_rank_count[i] = pDCTData->DimmRanks[dimm];
+ if (pDCTstat->DimmRanks[dimm] > highest_rank_count[i])
+ highest_rank_count[i] = pDCTstat->DimmRanks[dimm];
}
}
#endif