google/oak: Add timestamps in romstage

BUG=none
TEST=emerge-oak coreboot
BRANCH=none

Change-Id: Idf74265c9c1ab3a1a74fd18dfd289fccad25177e
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 569c433886b19cd08d168e995bf34156c2ba6963
Original-Change-Id: I07fda6a0719d49e2c07249276ae2cc0b57fdfeda
Original-Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/292660
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/12610
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Yidi Lin 2015-07-31 17:10:44 +08:00 committed by Patrick Georgi
parent 0dd8315bcc
commit 762cdfaaa0
1 changed files with 3 additions and 0 deletions

View File

@ -27,9 +27,12 @@
#include <program_loading.h>
#include <romstage_handoff.h>
#include <symbols.h>
#include <timestamp.h>
void main(void)
{
timestamp_add_now(TS_START_ROMSTAGE);
/* init uart baudrate when pll on */
console_init();
exception_init();