getac/p470: initialize timestamps in romstage

Change-Id: I2f43684bbdd48f30039fe09275043ddf203d447c
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/10907
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Patrick Georgi 2015-07-13 19:25:01 +02:00 committed by Patrick Georgi
parent ec505ad21c
commit ad0dda767b
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include <northbridge/intel/i945/i945.h> #include <northbridge/intel/i945/i945.h>
#include <northbridge/intel/i945/raminit.h> #include <northbridge/intel/i945/raminit.h>
#include <southbridge/intel/i82801gx/i82801gx.h> #include <southbridge/intel/i82801gx/i82801gx.h>
#include <timestamp.h>
#include "option_table.h" #include "option_table.h"
void setup_ich7_gpios(void) void setup_ich7_gpios(void)
@ -267,6 +268,9 @@ void main(unsigned long bist)
{ {
int s3resume = 0; int s3resume = 0;
timestamp_init(timestamp_get());
timestamp_add_now(TS_START_ROMSTAGE);
if (bist == 0) if (bist == 0)
enable_lapic(); enable_lapic();