summaryrefslogtreecommitdiff
path: root/firmware/include/vboot_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/vboot_api.h')
-rw-r--r--firmware/include/vboot_api.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h
index d3e05817..a8da9390 100644
--- a/firmware/include/vboot_api.h
+++ b/firmware/include/vboot_api.h
@@ -399,6 +399,14 @@ enum VbScreenType_t {
VB_SCREEN_CONFIRM_DIAG = 0x303,
};
+/* Flags to control behavior of device-specific screens. */
+enum VbVendorDataFlags_t {
+ /* When set display a cursor after the prompt */
+ VB_VENDOR_DATA_SHOW_CURSOR = 1 << 0,
+ /* When set only redraw the cursor */
+ VB_VENDOR_DATA_ONLY_DRAW_CURSOR = 1 << 1,
+};
+
/**
* Extra data needed when displaying vendor data screens
*/
@@ -406,6 +414,8 @@ typedef struct VbVendorData
{
/* Current state of the the vendor data input */
const char *input_text;
+ /* Flags (See VbVendorDataFlags_t) */
+ uint32_t flags;
/* Current confirmation selection for new vendor data */
uint32_t selected_index;
} VbVendorData;