summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-11-11 14:15:31 -0800
committerVadim Bendebury <vbendeb@chromium.org>2016-11-16 02:15:58 +0100
commitaf8ae93172bd793787dc3a9b81695905c1899d1f (patch)
tree643b7bc2c83d7cc2738121ca2d5420c82fbac589 /Documentation
parent1fc6bb93829397859b17e1fb0866d686ad6c19d6 (diff)
vboot: TPM2 - report attempts to re-create NVRAM spaces
Currently the tlcl_define_space() function returns the same error value for any non-zero TPM response code. The thing is that the caller might want to allow attempts to re-create existing NVRAM spaces. This patch adds a new API return value to indicate this condition and uses it as appropriate. BRANCH=none BUG=chrome-os-partner:59654 TEST=for test purposes modified the code not to create the firmware space, wiped out the TPM NVRAM and booted the device. Observed it create kernel and MRC index spaces on the first boot and then reporting return code 0x14c for already existing spaces on the following restarts. Change-Id: Ic183eb45e73edfbccf11cc19fd2f64f64274bfb2 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://review.coreboot.org/17422 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions