Create v2 TPM structure when doing factory reset.
Currently Vboot V1 and V2 are both using v2 TPM structure, but factory reset
process used to create a v1 TPM structure to clear TPM data. This works for
Vboot V1 because it will detect and auto convert v1 TPM structure to v2, but not
anymore for Vboot V2.
To support devices using firmware with Vboot V2, we have to create TPM strcture
in v2 format in factory reset.
BUG=chrome-os-partner:33593
TEST=none
Change-Id: Ic70cdc8f4dc57e9b1d8bb5b12d518a7653e6f4f1
Reviewed-on: https://chromium-review.googlesource.com/227921
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
1 file changed