summaryrefslogtreecommitdiff
path: root/include/power
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-01-06 22:14:13 +0800
committerSimon Glass <sjg@chromium.org>2015-01-13 07:25:02 -0800
commit5c564b0d2fd108ebc5fd6bb0081b981ee32ddf0b (patch)
treeedd104af8947f8e9b4575c1c96fc7c9d46f44cbf /include/power
parentb2439aecd3091e754d3dc3f8be422fee74180295 (diff)
downloadu-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 'include/power')
0 files changed, 0 insertions, 0 deletions