summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/timer.c
AgeCommit message (Collapse)Author
2013-05-13x86: Remove old broken timer implementationSimon Glass
Tidy up some old broken and unneeded implementations. These are not used by coreboot or anything else now. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Gabe Black <[email protected]> Reviewed-by: Michael Spang <[email protected]> Reviewed-by: Vadim Bendebury <[email protected]> Acked-by: Graeme Russ <[email protected]>
2013-05-13x86: Add TSC timerSimon Glass
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 <[email protected]>base Signed-off-by: Simon Glass <[email protected]>
2012-11-30x86: Add a dummy implementation for timer_get_usGabe Black
The microsecond timer is not currently implemented, but add a dummy implementation for now. Signed-off-by: Gabe Black <[email protected]> Signed-off-by: Simon Glass <[email protected]>