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>
This commit is contained in:
Alexandru Gagniuc 2016-05-16 16:56:28 -07:00 committed by Aaron Durbin
parent 766ba779bd
commit eaa0a17ac2
1 changed files with 2 additions and 0 deletions

View File

@ -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();