diff options
Diffstat (limited to 'firmware/include/vboot_nvstorage.h')
-rw-r--r-- | firmware/include/vboot_nvstorage.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/firmware/include/vboot_nvstorage.h b/firmware/include/vboot_nvstorage.h index 5a44ae14..dc4ab50e 100644 --- a/firmware/include/vboot_nvstorage.h +++ b/firmware/include/vboot_nvstorage.h @@ -76,6 +76,8 @@ typedef enum VbNvParam { * 0=no, 1=yes. */ VBNV_DEV_BOOT_FASTBOOT_FULL_CAP, + /* Set default boot mode (see VbDevDefaultBoot) */ + VBNV_DEV_DEFAULT_BOOT, /* * Set by userspace to request that RO firmware disable dev-mode on the * next boot. This is likely only possible if the dev-switch is @@ -119,6 +121,19 @@ typedef enum VbNvParam { } VbNvParam; +/* Set default boot in developer mode */ +typedef enum VbDevDefaultBoot { + /* Default to boot from disk*/ + VBNV_DEV_DEFAULT_BOOT_DISK = 0, + + /* Default to boot from USB */ + VBNV_DEV_DEFAULT_BOOT_USB = 1, + + /* Default to boot legacy OS */ + VBNV_DEV_DEFAULT_BOOT_LEGACY = 2, + +} VbDevDefaultBoot; + /* Result of trying the firmware in VBNV_FW_TRIED */ typedef enum VbFwResult { /* Unknown */ |