Revert "soc/intel/cannonlake: Enable ACPI timer emulation if PM timer is disabled"
This reverts commit e5269a8fd9
.
Reason for revert: BIOS spec says, it's recommended to always enable
emulation (regardless of the OS version).
Change-Id: If0d7fa6f9766c7c4e2fa9e846c179adc6a4e1681
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45000
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
4eedd938fa
commit
4b6ff98e84
|
@ -112,14 +112,8 @@ static void configure_dca_cap(void)
|
|||
*/
|
||||
static void enable_pm_timer_emulation(void)
|
||||
{
|
||||
const struct soc_intel_cannonlake_config *config;
|
||||
msr_t msr;
|
||||
|
||||
config = config_of_soc();
|
||||
|
||||
/* Enable PM timer emulation only if ACPI PM timer is disabled */
|
||||
if (!config->PmTimerDisabled)
|
||||
return;
|
||||
/*
|
||||
* The derived frequency is calculated as follows:
|
||||
* (CTC_FREQ * msr[63:32]) >> 32 = target frequency.
|
||||
|
|
Loading…
Reference in New Issue