coreboot-kgpe-d16/src
Subrata Banik 809b7513a2 soc/intel/common/timer: Make TSC frequency calculation dynamically
tsc_freq_mhz() had a static table of Intel CPU families and crystal
clock, but it is possible to calculate the crystal clock speed dynamically,
and this is preferred over hardcoded table.

On SKL/KBL/CML CPUID.15h.ecx = nominal core crystal clock = 0 Hz
hence we had to use static table to calculate crystal clock.

Recommendation is to make use of CPUID.16h where crystal clock frequency
was not reported by CPUID.15h to calculate the crystal clock.

BUG=b:139798422, b:129839774
TEST=Able to build and boot KBL/CML/ICL.

Change-Id: If660a4b8d12e54b39252bce62bcc0ffcc967f5da
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35148
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: V Sowmya <v.sowmya@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-09-02 20:08:20 +00:00
..
acpi AUTHORS: Move src/acpi copyrights into AUTHORS file 2019-07-30 11:04:14 +00:00
arch soc/intel/common/timer: Make TSC frequency calculation dynamically 2019-09-02 20:08:20 +00:00
commonlib commonlib/region: Fix up overflow check in region_is_subregion() 2019-08-19 21:12:31 +00:00
console Add definition for ENV_ROMSTAGE_OR_BEFORE to <rules.h> 2019-08-26 20:59:45 +00:00
cpu security/intel: Add TXT infrastructure 2019-09-02 04:52:04 +00:00
device Split MAYBE_STATIC to _BSS and _NONZERO variants 2019-08-26 20:56:29 +00:00
drivers drivers/vpd: add framework to search VPD in romstage 2019-09-02 06:38:29 +00:00
ec ec/kontron/kempld: Select DRIVERS_UART_8250IO 2019-09-02 10:58:15 +00:00
include soc/intel/skylake: Remove duplicated PCI Id 2019-08-30 10:39:35 +00:00
lib arch/x86: Simplify <arch/early_variables.h> 2019-08-26 22:52:10 +00:00
mainboard mb/facebook/watson: Select no UART on SuperIO 2019-09-02 06:42:43 +00:00
northbridge intel/haswell: Use smm_subregion() 2019-08-28 22:52:47 +00:00
security vboot: remove fastboot support 2019-09-02 05:48:35 +00:00
soc soc/intel/common/timer: Make TSC frequency calculation dynamically 2019-09-02 20:08:20 +00:00
southbridge amdfam10: Remove use of __PRE_RAM__ 2019-08-26 02:08:42 +00:00
superio smsc/superio/sio1007: Fix header name 2019-08-27 11:52:13 +00:00
vendorcode vendorcode/eltan/security/lib: Always include cb_sha.c for bootblock 2019-08-26 13:46:13 +00:00
Kconfig ACPI S3: Depend on RELOCATABLE_RAMSTAGE 2019-08-22 06:38:13 +00:00