soc/intel/skylake: Prevent disabling of TCO
commit84fbc30e928d28fba2f3a25f6ccea3a831dce648
authorNaresh G Solanki <naresh.solanki@intel.com>
Mon, 15 Oct 2018 10:07:15 +0000 (15 15:37 +0530)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 18 Oct 2018 12:44:03 +0000 (18 12:44 +0000)
tree174629abb4eb412ab6bac8655715faadb993e690
parent2653cdbe0cbe2aefbe98503ae8d34d80dc8c69c9
soc/intel/skylake: Prevent disabling of TCO

In Skylake/Kabylake, if ACPI PM timer is disabled then TCO also gets
disabled & vice versa.

FSP default config for EnableTcoTimer is disabled, this caused ACPI PM
timer & TCO to be disabled by FSP even when config PmTimerDisable = 0.

Thus update FSPS UPD EnableTcoTimer in accordance to devicetree config
PmTimerDisable.

BUG=None
TEST= Build for Soraka with PmTimerDisable=0 & check if TCO caused
reboot after running shell command: cat >> /dev/watchdog0

Change-Id: Ia146761036c9dbaef3c02c9a7122ae3dcdef7bdd
Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com>
Reviewed-on: https://review.coreboot.org/29108
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
src/soc/intel/skylake/chip_fsp20.c