]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Add TSC timer
authorSimon Glass <sjg@chromium.org>
Wed, 17 Apr 2013 16:13:36 +0000 (16:13 +0000)
committerSimon Glass <sjg@chromium.org>
Mon, 13 May 2013 20:33:21 +0000 (13:33 -0700)
commite761ecdbb83e3151ffea5b531523256c57e62527
treecbd44285af8784933d8c09caba2f0f8208d1856b
parent7949703a9582ec60cf841c595acd3bbe86933cd3
x86: Add TSC timer

This timer runs at a rate that can be calculated, well over 100MHz. It is
ideal for accurate timing and does not need interrupt servicing.

Tidy up some old broken and unneeded implementations at the same time.

To provide a consistent view of boot time, we use the same time
base as coreboot. Use the base timestamp supplied by coreboot
as U-Boot's base time.

Signed-off-by: Simon Glass <sjg@chromium.org>base
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/coreboot/timestamp.c
arch/x86/cpu/timer.c
arch/x86/include/asm/u-boot-x86.h
arch/x86/lib/Makefile
arch/x86/lib/tsc_timer.c [new file with mode: 0644]
include/configs/coreboot.h