diff options
author | Allen Webb <allenwebb@google.com> | 2018-07-18 15:22:49 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-19 02:52:02 -0700 |
commit | 4a2e6c78ef3b4578cf706c8d6bf73b7f6b7f07a6 (patch) | |
tree | d9bda8beb1fcaf88645daaf82d851b15197b67bc /board/cr50/tpm2/platform.c | |
parent | 2fbcc97df9d88701d09ed1d2fcd17f729f4d840f (diff) | |
download | chrome-ec-4a2e6c78ef3b4578cf706c8d6bf73b7f6b7f07a6.tar.gz |
Cr50: Generalize _plat__ResetCallback().
This renames _plat__ResetCallback to _plat__InitCallback and invokes
it for all cases of TPM_Startup instead of SU_RESET only.
CQ-DEPEND=CL:1142537
BUG=chromium:863572
TEST=Check that "PinWeaver: Loading Tree!" is present in the Cr50 log
after deep sleep
Change-Id: If2be276eb79b683af209768967e9f4238e491596
Signed-off-by: Allen Webb <allenwebb@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1142536
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'board/cr50/tpm2/platform.c')
-rw-r--r-- | board/cr50/tpm2/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/tpm2/platform.c b/board/cr50/tpm2/platform.c index a275a82264..34785588af 100644 --- a/board/cr50/tpm2/platform.c +++ b/board/cr50/tpm2/platform.c @@ -63,7 +63,7 @@ void _plat__GetFwVersion(uint32_t *firmwareV1, uint32_t *firmwareV2) *firmwareV2 = strtoi(ver_str, NULL, 16); } -void _plat__ResetCallback(void) +void _plat__StartupCallback() { pinweaver_init(); |