fix: [ARLH] Fix watchdog hang on system (#2263)

Enabling the WatchDog & TcoTimer options to avoid hang on system

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
This commit is contained in:
Sabryna 2024-08-20 12:59:05 +08:00 committed by GitHub
parent 3eafd13581
commit 8655f053c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -619,13 +619,13 @@ UpdateFspConfig (
}
FspsConfig->AmtEnabled = 0x1;
FspsConfig->EnableTcoTimer = 0x1;
if (MtlIsSocM ()) {
DEBUG ((DEBUG_INFO, "Updated Soc M VMD Enabled WatchDog Disabled\n"));
FspsConfig->VmdEnable = 1;
FspsConfig->EnableTcoTimer = 0x0;
FspsConfig->WatchDogEnabled = 0x0;
DEBUG ((DEBUG_INFO, "Updated Soc M VMD Disabled\n"));
FspsConfig->VmdEnable = 0;
DEBUG ((DEBUG_INFO, "Updated Soc M WatchDog Enabled\n"));
FspsConfig->EnableTcoTimer = 0x1;
FspsConfig->WatchDogEnabled = 0x1;
FspsConfig->PchLockDownBiosLock = SiCfgData->PchLockDownBiosLock;
FspsConfig->PchLockDownGlobalSmi = SiCfgData->PchLockDownGlobalSmi;
} else {