diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2016-10-07 13:59:36 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-10-13 18:22:03 +0200 |
commit | 03bf301d825ff0e360be67b4839bdb11f2f61774 (patch) | |
tree | 855e935d4a4d8df8dd6935247dc61f30e1173ebf /src/vboot | |
parent | 165af1c5c207f3456c4251dd6da1baae6f5ff319 (diff) |
vboot: Stop creating backup space in TPM
There is no code which uses the backup space in TPM created for vboot
nvram.
All chromebooks currently supported at the trunk store vboot nvram
in flash directly or as a backup.
BUG=chrome-os-partner:47915
BRANCH=none
TEST=emerge-samus coreboot
Change-Id: I9445dfd822826d668b3bfed8ca50dc9386f2b2b0
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 5cee2d54c96ad7952af2a2c1f773ba09c5248f41
Original-Change-Id: Ied0cec0ed489df3b39f6b9afd3941f804557944f
Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/395507
Original-Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://review.coreboot.org/16997
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/vboot')
-rw-r--r-- | src/vboot/secdata_tpm.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vboot/secdata_tpm.c b/src/vboot/secdata_tpm.c index 76b90abee6..b1f3197610 100644 --- a/src/vboot/secdata_tpm.c +++ b/src/vboot/secdata_tpm.c @@ -245,11 +245,6 @@ static uint32_t _factory_initialize_tpm(struct vb2_context *ctx) VBDEBUG("TPM: Clearing owner\n"); RETURN_ON_FAILURE(tpm_clear_and_reenable()); - /* Define the backup space. No need to initialize it, though. */ - RETURN_ON_FAILURE(safe_define_space(BACKUP_NV_INDEX, - TPM_NV_PER_PPWRITE, - VB2_NVDATA_SIZE)); - /* Define and initialize the kernel space */ RETURN_ON_FAILURE(safe_define_space(KERNEL_NV_INDEX, TPM_NV_PER_PPWRITE, |