coreboot-kgpe-d16/src/cpu/x86
Aaron Durbin 8e73b5d952 x86: add TSC_CONSTANT_RATE option
Some boards use the local apic for udelay(), but they also provide
their own implementation of udelay() for SMM. The reason for using
the local apic for udelay() in ramstage is to not have to pay the
penalty of calibrating the TSC frequency. Therefore provide a
TSC_CONSTANT_RATE option to indicate that TSC calibration is not
needed. Instead rely on the presence of a tsc_freq_mhz() function
provided by the cpu/board.  Additionally, assume that if
TSC_CONSTANT_RATE is selected the udelay() function in SMM will
be the tsc.

Change-Id: I1629c2fbe3431772b4e80495160584fb6f599e9e
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/3168
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-05-07 18:35:04 +02:00
..
16bit Revert wbind added to the reset_vector 2012-04-20 09:09:42 +02:00
32bit Remove whitespace. 2012-02-17 19:04:31 +01:00
cache post code: Replaced hard-coded post code with macro 2012-01-23 22:50:56 +01:00
lapic lapic: monotonic time implementation 2013-05-01 07:15:17 +02:00
mtrr x86: use boot state callbacks to disable rom cache 2013-05-01 07:12:17 +02:00
name GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
pae Revert "Use broadcast SIPI to startup siblings" 2012-07-31 06:46:02 +02:00
smm x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
tsc x86: add TSC_CONSTANT_RATE option 2013-05-07 18:35:04 +02:00
fpu_enable.inc GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
Kconfig x86: add TSC_CONSTANT_RATE option 2013-05-07 18:35:04 +02:00
sse_enable.inc GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00