coreboot-kgpe-d16/src/commonlib
Aaron Durbin e0969aec25 x86: add coreboot table entry for TSC info
The 8254 (Programmable Interrupt Timer) is becoming optional
on x86 platforms -- either from saving power or not including it
at all. To allow a payload to still use a TSC without doing
calibration provide the TSC frequency information in the coreboot
tables. That data is provided by code/logic already employed
by platform. If tsc_freq_mhz() returns 0 or
CONFIG_TSC_CONSTANT_RATE is not selected the coreboot table
record isn't created.

BUG=chrome-os-partner:50214
BRANCH=glados
TEST=With all subsequent patches confirmed TSC is picked up in
     libpayload.

Change-Id: Iaeadb85c2648587debcf55f4fa5351d0c287e971
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/13670
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
2016-02-19 19:50:10 +01:00
..
include/commonlib x86: add coreboot table entry for TSC info 2016-02-19 19:50:10 +01:00
cbfs.c commonlib: Add function to hash contents of a CBFS region. 2016-01-06 01:12:04 +01:00
fsp1_1_relocate.c commonlib: move uefi includes out of commonlib includes 2016-02-02 14:27:03 +01:00
Makefile.inc commonlib: Add common cbfs parsing logic to coreboot and cbfstool. 2016-01-06 01:11:19 +01:00
mem_pool.c commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
region.c commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00