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: Ied0cec0ed489df3b39f6b9afd3941f804557944f Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/395507 Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
parent
cf1aa5ade8
commit
5cee2d54c9
2 changed files with 2 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue