UPSTREAM: soc/apollolake/romstage: Add a timestamp at the start of romstage

BUG=None
BRANCH=None
TEST=None

Change-Id: Idcfaba08e4705c6219a46dd615ae8b456a8ab5b4
Original-Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc@intel.com>
Original-Reviewed-on: https://review.coreboot.org/14865
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/346983
Commit-Ready: Martin Roth <martinroth@chromium.org>
Tested-by: Martin Roth <martinroth@chromium.org>
Reviewed-by: Martin Roth <martinroth@chromium.org>
This commit is contained in:
Alexandru Gagniuc 2016-05-16 16:56:28 -07:00 committed by chrome-bot
commit c64dddf30b

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