diff options
Diffstat (limited to 'firmware/lib/vboot_ui_menu.c')
-rw-r--r-- | firmware/lib/vboot_ui_menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/lib/vboot_ui_menu.c b/firmware/lib/vboot_ui_menu.c index 17c1137e..5ac4bb40 100644 --- a/firmware/lib/vboot_ui_menu.c +++ b/firmware/lib/vboot_ui_menu.c @@ -162,7 +162,7 @@ static VbError_t boot_legacy_action(struct vb2_context *ctx) return VBERROR_KEEP_LOOPING; } - vb2_run_altfw(VB_ALTFW_DEFAULT); + vb2_run_altfw(ctx, VB_ALTFW_DEFAULT); vb2_flash_screen(ctx); return VBERROR_KEEP_LOOPING; } @@ -342,7 +342,7 @@ static VbError_t language_action(struct vb2_context *ctx) /* Action when selecting a bootloader in the alternative firmware menu. */ static VbError_t altfw_action(struct vb2_context *ctx) { - vb2_run_altfw(current_menu_idx + 1); + vb2_run_altfw(ctx, current_menu_idx + 1); vb2_flash_screen(ctx); VB2_DEBUG(no_legacy); VbExDisplayDebugInfo(no_legacy, 0); @@ -797,7 +797,7 @@ static VbError_t vb2_developer_menu(struct vb2_context *ctx) VB2_DEBUG("VbBootDeveloper() - " "user pressed key '%c': Boot alternative " "firmware\n", key); - vb2_try_alt_fw(altfw_allowed, key - '0'); + vb2_try_alt_fw(ctx, altfw_allowed, key - '0'); break; default: ret = vb2_handle_menu_input(ctx, key, 0); |