[U-Boot] [PATCH v3] x86: tsc: Add support for native calibration of TSC freq

Bin Meng bmeng.cn at gmail.com
Thu Jan 31 07:38:48 UTC 2019


On Mon, Jan 7, 2019 at 7:14 PM Bernhard Messerklinger
<bernhard.messerklinger at br-automation.com> wrote:
>
> 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: Bernhard Messerklinger <bernhard.messerklinger at br-automation.com>
> ---
> I hope this patch won't break other x86 board.
> I only can test it with APL board.
>
> Changes in v4:
> - Fix commit message
> - Update macro names
> - Order macro numbers
> - Check cpuid eax and ebx return value
>
>  drivers/timer/tsc_timer.c | 55 +++++++++++++++++++++++++++++++++++++++
>  1 file changed, 55 insertions(+)
>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list