summaryrefslogtreecommitdiff
path: root/firmware/lib/include/vboot_kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/include/vboot_kernel.h')
-rw-r--r--firmware/lib/include/vboot_kernel.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/lib/include/vboot_kernel.h b/firmware/lib/include/vboot_kernel.h
index 37243865..eaddcea5 100644
--- a/firmware/lib/include/vboot_kernel.h
+++ b/firmware/lib/include/vboot_kernel.h
@@ -122,9 +122,14 @@ void vb2_exit_altfw(void);
*/
void vb2_try_alt_fw(int allowed, int altfw_num);
+enum vb2_beep_type {
+ VB_BEEP_FAILED, /* Permitted but the operation failed */
+ VB_BEEP_NOT_ALLOWED, /* Operation disabled by user setting */
+};
+
/**
- * Emit two short beeps to indicate an error
+ * Emit beeps to indicate an error
*/
-void vb2_error_beep(void);
+void vb2_error_beep(enum vb2_beep_type beep);
#endif /* VBOOT_REFERENCE_VBOOT_KERNEL_H_ */