diff options
-rw-r--r-- | firmware/include/vboot_api.h | 7 | ||||
-rw-r--r-- | firmware/lib/vboot_api_kernel.c | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h index fb191bf6..5481c379 100644 --- a/firmware/include/vboot_api.h +++ b/firmware/include/vboot_api.h @@ -105,8 +105,6 @@ typedef struct VbSelectAndLoadKernelParams { void *kernel_buffer; /* Size of kernel buffer in bytes */ uint32_t kernel_buffer_size; - /* input flags. */ - uint32_t inflags; /* * Outputs from VbSelectAndLoadKernel(); valid only if it returns @@ -132,11 +130,6 @@ typedef struct VbSelectAndLoadKernelParams { */ } VbSelectAndLoadKernelParams; -/* Flag to indicate that the vendor data is not set and the vendor data - * UI should be enabled. - */ -#define VB_SALK_INFLAGS_VENDOR_DATA_SETTABLE (1 << 1) - /** * Select and loads the kernel. * diff --git a/firmware/lib/vboot_api_kernel.c b/firmware/lib/vboot_api_kernel.c index 7567010f..5408c5a3 100644 --- a/firmware/lib/vboot_api_kernel.c +++ b/firmware/lib/vboot_api_kernel.c @@ -429,9 +429,6 @@ vb2_error_t VbSelectAndLoadKernel(struct vb2_context *ctx, if (!rv) rv = VBERROR_REBOOT_REQUIRED; } else if (ctx->flags & VB2_CONTEXT_DEVELOPER_MODE) { - if (kparams->inflags & VB_SALK_INFLAGS_VENDOR_DATA_SETTABLE) - ctx->flags |= VB2_CONTEXT_VENDOR_DATA_SETTABLE; - /* Developer boot. This has UI. */ if (ctx->flags & VB2_CONTEXT_DETACHABLE_UI) rv = VbBootDeveloperMenu(ctx); |