summaryrefslogtreecommitdiff
path: root/firmware/lib/vboot_ui_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/vboot_ui_common.c')
-rw-r--r--firmware/lib/vboot_ui_common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/firmware/lib/vboot_ui_common.c b/firmware/lib/vboot_ui_common.c
index 5bd0500c..49e20fd4 100644
--- a/firmware/lib/vboot_ui_common.c
+++ b/firmware/lib/vboot_ui_common.c
@@ -7,7 +7,6 @@
#include "2common.h"
#include "2sysincludes.h"
-#include "secdata_tpm.h"
#include "vboot_api.h"
#include "vboot_kernel.h"
#include "vboot_ui_common.h"
@@ -73,12 +72,6 @@ void vb2_try_altfw(struct vb2_context *ctx, int allowed,
return;
}
- if (secdata_kernel_lock(ctx)) {
- vb2_error_notify("Error locking kernel versions on legacy "
- "boot.\n", NULL, VB_BEEP_FAILED);
- return;
- }
-
/* Will not return if successful */
VbExLegacy(altfw_num);