[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:
Sindhura Grandhi 2022-02-22 12:22:39 -07:00 committed by GitHub
parent 64d682755b
commit b64aa3f51f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,7 @@ TccModePreMemConfig (
// Let FSP know that an error has occured in DSO loading
FspmUpd->FspmConfig.TccStreamCfgStatusPreMem = 1;
InvalidateBadDso ();
} else if (TccCfgData->TccTuning != 0) {
// Setup Watch dog timer
WdtReloadAndStart (WDT_TIMEOUT_TCC_DSO, WDT_FLAG_TCC_DSO_IN_PROGRESS);
@ -160,6 +161,9 @@ TccModePreMemConfig (
FspmUpd->FspmConfig.SaGv = PolicyConfig->SaGv;
FspmUpd->FspmConfig.DisPgCloseIdleTimeout = PolicyConfig->DisPgCloseIdle;
FspmUpd->FspmConfig.PowerDownMode = PolicyConfig->MemPowerDown;
DEBUG ((DEBUG_INFO, "Dump TCC DSO BIOS settings:\n"));
DumpHex (2, 0, sizeof(BIOS_SETTINGS), PolicyConfig);
}
}
}