summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2020-05-06 15:38:06 +0800
committerCommit Bot <commit-bot@chromium.org>2020-05-09 02:41:32 +0000
commit5cb4cee971167982e041f3fd95b1839fcf15a46a (patch)
treea80aa3d5da46f4ad4df9bef554bb79ee8e3bd065
parentee0b2f7e2e49fbb6fe895d41869078ff1b85b0d1 (diff)
downloadvboot-5cb4cee971167982e041f3fd95b1839fcf15a46a.tar.gz
vboot: Add developer screens to vb2_screen
Add VB2_SCREEN_DEVELOPER_MODE and VB2_SCREEN_DEVELOPER_TO_NORM to enum vb2_screen. BRANCH=none BUG=b:146399181 TEST=USE="menu_ui" emerge-nami depthcharge Change-Id: Ie949eedbf5d564f73fd6288bbc3630af83335dbb Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2186571 Reviewed-by: Joel Kitching <kitching@chromium.org>
-rw-r--r--firmware/2lib/include/2api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/2lib/include/2api.h b/firmware/2lib/include/2api.h
index 6b51c54c..e33d6bd5 100644
--- a/firmware/2lib/include/2api.h
+++ b/firmware/2lib/include/2api.h
@@ -1189,6 +1189,10 @@ enum vb2_screen {
VB2_SCREEN_RECOVERY_DISK_STEP3 = 0x212,
/* Recovery using phone */
VB2_SCREEN_RECOVERY_PHONE_STEP1 = 0x220,
+ /* Developer screen */
+ VB2_SCREEN_DEVELOPER_MODE = 0x300,
+ /* Confirm transition to normal mode */
+ VB2_SCREEN_DEVELOPER_TO_NORM = 0x310,
};
/**