[ADLS] Fix bad DSO failure test case (#1499)
This patch fixes the test case where when a bad dso is provided, it will revert back to the default dso settings. TEST= Ran the test case successfully on ADLS board. Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
This commit is contained in:
parent
64d682755b
commit
b64aa3f51f
|
@ -129,6 +129,7 @@ TccModePreMemConfig (
|
||||||
|
|
||||||
// Let FSP know that an error has occured in DSO loading
|
// Let FSP know that an error has occured in DSO loading
|
||||||
FspmUpd->FspmConfig.TccStreamCfgStatusPreMem = 1;
|
FspmUpd->FspmConfig.TccStreamCfgStatusPreMem = 1;
|
||||||
|
InvalidateBadDso ();
|
||||||
} else if (TccCfgData->TccTuning != 0) {
|
} else if (TccCfgData->TccTuning != 0) {
|
||||||
// Setup Watch dog timer
|
// Setup Watch dog timer
|
||||||
WdtReloadAndStart (WDT_TIMEOUT_TCC_DSO, WDT_FLAG_TCC_DSO_IN_PROGRESS);
|
WdtReloadAndStart (WDT_TIMEOUT_TCC_DSO, WDT_FLAG_TCC_DSO_IN_PROGRESS);
|
||||||
|
@ -160,6 +161,9 @@ TccModePreMemConfig (
|
||||||
FspmUpd->FspmConfig.SaGv = PolicyConfig->SaGv;
|
FspmUpd->FspmConfig.SaGv = PolicyConfig->SaGv;
|
||||||
FspmUpd->FspmConfig.DisPgCloseIdleTimeout = PolicyConfig->DisPgCloseIdle;
|
FspmUpd->FspmConfig.DisPgCloseIdleTimeout = PolicyConfig->DisPgCloseIdle;
|
||||||
FspmUpd->FspmConfig.PowerDownMode = PolicyConfig->MemPowerDown;
|
FspmUpd->FspmConfig.PowerDownMode = PolicyConfig->MemPowerDown;
|
||||||
|
|
||||||
|
DEBUG ((DEBUG_INFO, "Dump TCC DSO BIOS settings:\n"));
|
||||||
|
DumpHex (2, 0, sizeof(BIOS_SETTINGS), PolicyConfig);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue