diff options
Diffstat (limited to 'firmware/lib/include/vboot_ui_common.h')
-rw-r--r-- | firmware/lib/include/vboot_ui_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/lib/include/vboot_ui_common.h b/firmware/lib/include/vboot_ui_common.h index aa6a67e0..19c3809d 100644 --- a/firmware/lib/include/vboot_ui_common.h +++ b/firmware/lib/include/vboot_ui_common.h @@ -18,4 +18,14 @@ enum vb2_beep_type { */ void vb2_error_beep(enum vb2_beep_type beep); +/** + * Run alternative firmware if allowed + * + * This will only return if it is not allowed, or the bootloader fails to + * cannot be found / fails to start + * + * @altfw_num Number of bootloader to start (0=any, 1=first, etc.) + */ +void vb2_run_altfw(int altfw_num); + #endif /* VBOOT_REFERENCE_VBOOT_UI_COMMON_H_ */ |