summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYidi Lin <yidi.lin@mediatek.com>2015-07-31 17:10:44 +0800
committerPatrick Georgi <pgeorgi@google.com>2015-12-04 21:52:59 +0100
commit762cdfaaa0535b622144ad7f8215937f5aac5451 (patch)
tree8ee5dfb31836747efe2f5bfe79b2a0c934a9351b /src
parent0dd8315bcc9bd31f30eb011a9845969a438eedd9 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/oak/romstage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/oak/romstage.c b/src/mainboard/google/oak/romstage.c
index 268f15f5b6..ce736e42c0 100644
--- a/src/mainboard/google/oak/romstage.c
+++ b/src/mainboard/google/oak/romstage.c
@@ -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();