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:
parent
766ba779bd
commit
eaa0a17ac2
|
@ -39,6 +39,7 @@
|
||||||
#include <soc/romstage.h>
|
#include <soc/romstage.h>
|
||||||
#include <soc/uart.h>
|
#include <soc/uart.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <timestamp.h>
|
||||||
|
|
||||||
#define FIT_POINTER (0x100000000ULL - 0x40)
|
#define FIT_POINTER (0x100000000ULL - 0x40)
|
||||||
|
|
||||||
|
@ -127,6 +128,7 @@ asmlinkage void car_stage_entry(void)
|
||||||
struct romstage_handoff *handoff;
|
struct romstage_handoff *handoff;
|
||||||
struct chipset_power_state *ps = car_get_var_ptr(&power_state);
|
struct chipset_power_state *ps = car_get_var_ptr(&power_state);
|
||||||
|
|
||||||
|
timestamp_add_now(TS_START_ROMSTAGE);
|
||||||
|
|
||||||
soc_early_romstage_init();
|
soc_early_romstage_init();
|
||||||
disable_watchdog();
|
disable_watchdog();
|
||||||
|
|
Loading…
Reference in New Issue