On 3 January 2015 at 07:40, Bin Meng <bmeng...@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...@gmail.com> > --- > > arch/x86/cpu/coreboot/timestamp.c | 33 ++++++++++++++++++++------------- > 1 file changed, 20 insertions(+), 13 deletions(-)
Acked-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot