Home
last modified time | relevance | path

Searched hist:"5 c564b0d2fd108ebc5fd6bb0081b981ee32ddf0b" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/x86/cpu/coreboot/
H A Dtimestamp.c5c564b0d2fd108ebc5fd6bb0081b981ee32ddf0b Tue Jan 06 14:14:13 UTC 2015 Bin Meng <bmeng.cn@gmail.com> x86: coreboot: Set up timer base correctly

If coreboot is built with CONFIG_COLLECT_TIMESTAMPS, use the value
of base_time in coreboot's timestamp table as our timer base,
otherwise TSC counter value will be used.

Sometimes even coreboot is built with CONFIG_COLLECT_TIMESTAMPS,
the value of base_time in the timestamp table is still zero, so
we must exclude this case too (this is currently seen on booting
coreboot in qemu).

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>