summaryrefslogtreecommitdiff
path: root/firmware/lib/include/vboot_ui_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/include/vboot_ui_common.h')
-rw-r--r--firmware/lib/include/vboot_ui_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/lib/include/vboot_ui_common.h b/firmware/lib/include/vboot_ui_common.h
index cc130a67..8998229d 100644
--- a/firmware/lib/include/vboot_ui_common.h
+++ b/firmware/lib/include/vboot_ui_common.h
@@ -38,7 +38,7 @@ void vb2_error_notify(const char *print_msg,
*
* @altfw_num Number of bootloader to start (0=any, 1=first, etc.)
*/
-void vb2_run_altfw(int altfw_num);
+void vb2_run_altfw(enum VbAltFwIndex_t altfw_num);
/** Display an error and beep to indicate that altfw is not available */
void vb2_error_no_altfw(void);
@@ -55,6 +55,6 @@ void vb2_error_no_altfw(void);
* @allowed 1 if allowed, 0 if not allowed
* @altfw_num Number of bootloader to start (0=any, 1=first, etc.)
*/
-void vb2_try_alt_fw(int allowed, int altfw_num);
+void vb2_try_alt_fw(int allowed, enum VbAltFwIndex_t altfw_num);
#endif /* VBOOT_REFERENCE_VBOOT_UI_COMMON_H_ */