aboutsummaryrefslogtreecommitdiff
path: root/src/lib/hardwaremain.c
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2016-12-05 23:06:37 +0100
committerMartin Roth <martinroth@google.com>2016-12-07 20:14:25 +0100
commit00563bf054770482a24282d3b0f15057af60de5a (patch)
tree5b9eb7c327103a1d745e55c8788523d8e4f0e69a /src/lib/hardwaremain.c
parent5eef7b34c1bacdf7c95f9c95d144f7a22b281920 (diff)
lib: Add time stamp when starting to finalize chips
Add the new time stamps *finalize chips* to track, when the method `dev_finalize_chips()` is called, so that the real time of `write_tables()` is known. Change-Id: I65ca0ec4c07c2eaa14982989cb206d23d8a2293f Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://review.coreboot.org/17725 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/lib/hardwaremain.c')
-rw-r--r--src/lib/hardwaremain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c
index ef789601e6..7e2098888c 100644
--- a/src/lib/hardwaremain.c
+++ b/src/lib/hardwaremain.c
@@ -212,6 +212,7 @@ static boot_state_t bs_write_tables(void *arg)
*/
write_tables();
+ timestamp_add_now(TS_FINALIZE_CHIPS);
dev_finalize_chips();
return BS_PAYLOAD_LOAD;