Skip to content
Commit ca7db866 authored by Bernhard Messerklinger's avatar Bernhard Messerklinger Committed by Bin Meng
Browse files

x86: tsc: Add support for native calibration of TSC freq



Add native tsc calibration function. Calibrate the tsc timer the same
way as linux does in arch/x86/kernel/tsc.c.

Fixes booting for Apollo Lake processors.

Signed-off-by: default avatarBernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 2436396a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment