diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-01-06 22:14:13 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-13 07:25:02 -0800 |
commit | 5c564b0d2fd108ebc5fd6bb0081b981ee32ddf0b (patch) | |
tree | edd104af8947f8e9b4575c1c96fc7c9d46f44cbf /arch/x86/lib | |
parent | b2439aecd3091e754d3dc3f8be422fee74180295 (diff) | |
download | u-boot-imx-5c564b0d2fd108ebc5fd6bb0081b981ee32ddf0b.zip u-boot-imx-5c564b0d2fd108ebc5fd6bb0081b981ee32ddf0b.tar.gz u-boot-imx-5c564b0d2fd108ebc5fd6bb0081b981ee32ddf0b.tar.bz2 |
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>
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions