coreboot-kgpe-d16/src/soc/intel/icelake
Michael Niewöhner 310c7637da soc/intel: deduplicate ACPI timer emulation
The code for enabling ACPI timer emulation is the same for the SoCs
SKL, CNL, ICL, TGL, JSL and EHL. Deduplicate it by moving it to
common code.

APL differs in not having the delay settings. However, the bits are
marked as "spare" and BWG mentions there are no "reserved bit checks
done". Thus, we can write them unconditionally without any effect.

Note: The ACPI timer emulation can only be used by SoCs with microcode
supporting CTC (Common Timer Copy) / ACPI timer emulation.

Change-Id: Ied4b312b6d53e80e71c55f4d1ca78a8cb2799793
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45951
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2020-10-28 21:28:19 +00:00
..
acpi soc/intel: Make use of common gfx.asl 2020-10-08 04:09:46 +00:00
bootblock soc/intel/{cnl,icl,jsl,tgl}: Use Bus Master for setting up PWRMBASE 2020-08-07 06:05:12 +00:00
include/soc {cpu,soc}/intel: deduplicate cpu code 2020-10-24 09:46:45 +00:00
romstage soc/intel: rename get_prmrr_size 2020-09-21 15:51:01 +00:00
acpi.c src: Use ACPI macros 2020-07-21 18:26:47 +00:00
chip.c soc/intel/common/block/lpc: add acpi name 2020-09-28 09:38:39 +00:00
chip.h mb/*,soc/intel: drop the obsolete dt option speed_shift_enable 2020-10-26 06:51:42 +00:00
cpu.c soc/intel: deduplicate ACPI timer emulation 2020-10-28 21:28:19 +00:00
elog.c elog: rename ELOG_WAKE_SOURCE_GPIO to ELOG_WAKE_SOURCE_GPE 2020-08-18 15:57:40 +00:00
espi.c soc/intel: Move pch_misc_init() to common code 2020-10-03 04:19:00 +00:00
finalize.c src: Include <arch/io.h> when appropriate 2020-10-26 06:44:40 +00:00
fsp_params.c soc/intel: Configure PAVP at compile-time 2020-10-12 23:11:04 +00:00
gpio.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
gspi.c
i2c.c
Kconfig soc/intel/icl: enable common CPU code 2020-10-26 06:51:53 +00:00
lockdown.c
Makefile.inc
me.c
p2sb.c
pmc.c
pmutil.c
reset.c Revert "soc/intel: Refactor do_global_reset() function" 2020-09-22 05:13:39 +00:00
sd.c
smihandler.c
smmrelocate.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
spi.c
systemagent.c
uart.c