From ad0dda767b9fc1357450e4de04bdf276c7bb40f1 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 13 Jul 2015 19:25:01 +0200 Subject: [PATCH] getac/p470: initialize timestamps in romstage Change-Id: I2f43684bbdd48f30039fe09275043ddf203d447c Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10907 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/getac/p470/romstage.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mainboard/getac/p470/romstage.c b/src/mainboard/getac/p470/romstage.c index 6205aed8ee..22a14c2c20 100644 --- a/src/mainboard/getac/p470/romstage.c +++ b/src/mainboard/getac/p470/romstage.c @@ -34,6 +34,7 @@ #include #include #include +#include #include "option_table.h" void setup_ich7_gpios(void) @@ -267,6 +268,9 @@ void main(unsigned long bist) { int s3resume = 0; + timestamp_init(timestamp_get()); + timestamp_add_now(TS_START_ROMSTAGE); + if (bist == 0) enable_lapic();