[U-Boot] [PATCH v2 02/12] x86: Allow a hardcoded TSC frequency provided by Kconfig
Simon Glass
sjg at chromium.org
Tue Jan 6 02:50:04 CET 2015
On 5 January 2015 at 08:28, Bin Meng <bmeng.cn at gmail.com> wrote:
> By default U-Boot automatically calibrates TSC running frequency via
> MSR and PIT. The calibration may not work on every x86 processor, so
> a new Kconfig option CONFIG_TSC_CALIBRATION_BYPASS is introduced to
> allow bypassing the calibration and assign a hardcoded TSC frequency
> CONFIG_TSC_FREQ_IN_MHZ.
>
> Normally the bypass should be turned on in a simulation environment
> like qemu.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2:
> - Spell out TSC, MSR and PIT in the Kconfig help
Acked-by: Simon Glass <sjg at chromium.org>
>
> arch/x86/Kconfig | 20 ++++++++++++++++++++
> arch/x86/lib/tsc_timer.c | 8 ++++++--
> 2 files changed, 26 insertions(+), 2 deletions(-)
More information about the U-Boot
mailing list