diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/antirollback.h | 4 | ||||
-rw-r--r-- | src/vboot/secdata_tpm.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/include/antirollback.h b/src/include/antirollback.h index f088ee2c53..889ba9a01f 100644 --- a/src/include/antirollback.h +++ b/src/include/antirollback.h @@ -17,8 +17,8 @@ enum vb2_pcr_digest; /* TPM NVRAM location indices. */ #define FIRMWARE_NV_INDEX 0x1007 #define KERNEL_NV_INDEX 0x1008 -/* This is just an opaque space for backup purposes */ -#define BACKUP_NV_INDEX 0x1009 +/* 0x1009 used to be used as a backup space. Think of conflicts if you + * want to use 0x1009 for something else. */ /* Structure definitions for TPM spaces */ 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, |