[U-Boot] [PATCH 1/3] x86: coreboot: Setup timer base correctly

Simon Glass sjg at chromium.org
Sun Jan 4 03:33:35 CET 2015


On 3 January 2015 at 07:40, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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.
>
> Note sometimes even coreboot is built with CONFIG_COLLECT_TIMES,
> 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 at gmail.com>
> ---
>
>  arch/x86/cpu/coreboot/timestamp.c | 33 ++++++++++++++++++++-------------
>  1 file changed, 20 insertions(+), 13 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list