security/vboot/sync_ec: Add timestamps
commitf9e74991d3f5dc62709b4591567156b45649018b
authorTim Wawrzynczak <twawrzynczak@chromium.org>
Fri, 25 Oct 2019 20:59:43 +0000 (25 14:59 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 20 Nov 2019 13:30:09 +0000 (20 13:30 +0000)
tree3dd34e35caacf149bf482ffa13c1839f453c77eb
parentd6fc557b9344cf466122ebe7bd7382e9d247c77c
security/vboot/sync_ec: Add timestamps

Add 4 new timestamps to the EC software sync flow:
1) Beginning of EC software sync
2) EC finished calculating Vboot hash
3) EC is no longer requesting power limiting
4) End of EC software sync

BUG=none
BRANCH=none
TEST=verified timestamps show up in cbmem log

Change-Id: I6e5703c146b5ec27d01700fdb39cb3d2092ea8a8
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36209
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
src/commonlib/include/commonlib/timestamp_serialized.h
src/security/vboot/ec_sync.c