soc/intel/{icl,cnl,tgl}: Always add PM1_TMR block to FADT
commit48c7870e5294336851472ac9eb1e4665715316f9
authorMeera Ravindranath <meera.ravindranath@intel.com>
Thu, 12 Dec 2019 05:07:49 +0000 (12 10:37 +0530)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 31 Dec 2019 15:17:27 +0000 (31 15:17 +0000)
tree59ada180ddfdbb88c2b295303bfec94404553a9e
parent408d1dac9e23250c0e485bbf934771f769b717c1
soc/intel/{icl,cnl,tgl}: Always add PM1_TMR block to FADT

Provide the PM1_TMR information in the FADT even if PmTimerDisabled is
set because PM timer emulation is enabled via MSR 121h so the timer will
still work and can be used by things like Tianocore and Windows.

Porting from 662b6cb3ed (soc/intel/skylake: Always add PM1_TMR block to FADT).

Change-Id: Ie3d592623f3a84051477ffe83a0cf0daf30dd36f
Signed-off-by: Meera Ravindranath <meera.ravindranath@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37662
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
src/soc/intel/cannonlake/acpi.c
src/soc/intel/icelake/acpi.c
src/soc/intel/tigerlake/acpi.c