diff options
Diffstat (limited to 'firmware/2lib/include/2api.h')
-rw-r--r-- | firmware/2lib/include/2api.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/2lib/include/2api.h b/firmware/2lib/include/2api.h index ee3bb53e..56c0b80c 100644 --- a/firmware/2lib/include/2api.h +++ b/firmware/2lib/include/2api.h @@ -1316,6 +1316,8 @@ enum vb2_screen { VB2_SCREEN_DEVELOPER_BOOT_EXTERNAL = 0x320, /* Invalid external disk inserted */ VB2_SCREEN_DEVELOPER_INVALID_DISK = 0x330, + /* Select alternate bootloader ("legacy boot") */ + VB2_SCREEN_DEVELOPER_SELECT_BOOTLOADER = 0x340, /* Diagnostic tools */ VB2_SCREEN_DIAGNOSTICS = 0x400, /* Storage diagnostic screen */ @@ -1380,6 +1382,13 @@ int vb2ex_physical_presence_pressed(void); uint32_t vb2ex_get_locale_count(void); /** + * Return the number of available alternate bootloaders. + * + * @returns Number of alternate bootloaders. 0 if none or on error. + */ +uint32_t vb2ex_get_bootloader_count(void); + +/** * Delay for at least the specified number of milliseconds. * * @param msec Duration in milliseconds. |