AGESA f14: Fix memory clock register decoding
Bottom five LSBs are used to store the running frequency of memory clock. Change-Id: I2dfcf1950883836499ea2ca95f9eb72ccdfb979c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/19042 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
e223c3aee9
commit
e522258907
|
@ -528,7 +528,8 @@ MemMSetCSRNb (
|
|||
IDS_HDT_CONSOLE (MEM_FLOW, "\tSTOP: DIMM config changed\n");
|
||||
RetVal = FALSE;
|
||||
}
|
||||
if (((Value & 0x4000) == 0) && (NBPtr->GetMemClkFreqId (NBPtr, NBPtr->DCTPtr->Timings.TargetSpeed) != ((Value & 7) + 1))) {
|
||||
if (((Value & 0x4000) == 0) && (NBPtr->GetMemClkFreqId (NBPtr,
|
||||
NBPtr->DCTPtr->Timings.TargetSpeed) != (Value & 0x1f))) {
|
||||
IDS_HDT_CONSOLE (MEM_FLOW, "\tSTOP: MemClk has changed\n");
|
||||
RetVal = FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue