From 673a2663a9a5ae0f222ecf07520c6137737b5139 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Fri, 11 Nov 2016 09:33:43 -0800 Subject: src/vboot: mark factory_initialze_tpm() as static This function is not used anywhere else in the code. BRANCH=none BUG=none TEST=reef and kevin boards (using tpm1.2 and tpm2.0 respectively) build successfully. Change-Id: Ifcc345ae9c22b25fdcfc2e547e70766021d27e32 Signed-off-by: Vadim Bendebury Reviewed-on: https://review.coreboot.org/17387 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/include/antirollback.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/include') diff --git a/src/include/antirollback.h b/src/include/antirollback.h index a48aa20002..f61aa858ff 100644 --- a/src/include/antirollback.h +++ b/src/include/antirollback.h @@ -73,15 +73,6 @@ uint32_t tpm_extend_pcr(struct vb2_context *ctx, int pcr, */ uint32_t tpm_clear_and_reenable(void); -/** - * Perform one-time initializations. - * - * Create the NVRAM spaces, and set their initial values as needed. Sets the - * nvLocked bit and ensures the physical presence command is enabled and - * locked. - */ -uint32_t factory_initialize_tpm(struct vb2_context *ctx); - /** * Start the TPM and establish the root of trust for the antirollback mechanism. */ -- cgit v1.2.3