summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake
diff options
context:
space:
mode:
authorAlexandru Gagniuc <alexandrux.gagniuc@intel.com>2016-05-16 16:56:28 -0700
committerAaron Durbin <adurbin@chromium.org>2016-05-19 18:31:07 +0200
commiteaa0a17ac21e2640614db69c2075b25db3627f5c (patch)
tree2bda8bbe04786666cb8123e3b4d8bd8ea5cc1c82 /src/soc/intel/apollolake
parent766ba779bda8628eddaf985daab604fa056a7e2a (diff)
soc/apollolake/romstage: Add a timestamp at the start of romstage
Change-Id: Idcfaba08e4705c6219a46dd615ae8b456a8ab5b4 Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc@intel.com> Reviewed-on: https://review.coreboot.org/14865 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/soc/intel/apollolake')
-rw-r--r--src/soc/intel/apollolake/romstage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/romstage.c b/src/soc/intel/apollolake/romstage.c
index 8c3a17077e..434d11fa20 100644
--- a/src/soc/intel/apollolake/romstage.c
+++ b/src/soc/intel/apollolake/romstage.c
@@ -39,6 +39,7 @@
#include <soc/romstage.h>
#include <soc/uart.h>
#include <string.h>
+#include <timestamp.h>
#define FIT_POINTER (0x100000000ULL - 0x40)
@@ -127,6 +128,7 @@ asmlinkage void car_stage_entry(void)
struct romstage_handoff *handoff;
struct chipset_power_state *ps = car_get_var_ptr(&power_state);
+ timestamp_add_now(TS_START_ROMSTAGE);
soc_early_romstage_init();
disable_watchdog();