summaryrefslogtreecommitdiff
path: root/inherit-review-settings-ok
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-11-03 20:37:46 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-11-08 23:24:54 -0800
commitdcbd8103376589dac48f896f3654a93b6943584c (patch)
treef9db9fbec3ddc708ccb3830bf40998b663dae3b4 /inherit-review-settings-ok
parent95b2d6ca2bea2a81ceeea58bc4660dfb3fa13a07 (diff)
downloadvboot-dcbd8103376589dac48f896f3654a93b6943584c.tar.gz
update chromeos-tpm-recovery to work for both TPM 1.x and 2.x
This script runs when the target is booted in recovery mode. It reinitializes the TPM and sets the predefined NVRAM spaces to the default values. The precence of the /etc/init/trunksd.init file is used to derermine if the target is runnig TPM 1.x or 2.x. The major difference between TPM 1.2 and TPM 2.0 modes is that the TPM 2.0 supporting routines do not yet allow to define NVRAM spaces. This capability will be added later. BRANCH=none BUG=chrome-os-partner:59361, chrome-os-partner:55210 TEST=verified that running chromeos-TPM-recovery on a device booted in recovery mode properly reinitializes TPM on both reef (TPM2.0) and kevin (TPM1.2). The previously failing on reef autotest firmware_UpdateFirmwareDataKeyVersion is now passing. Change-Id: I58e4ceeb1ba27544b7ebfb045d2d2fc5477ecf43 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/407796 Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'inherit-review-settings-ok')
0 files changed, 0 insertions, 0 deletions