diff options
author | Yu-Ping Wu <yupingso@chromium.org> | 2021-02-24 17:05:46 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-02 18:24:09 +0000 |
commit | a893a93c04c37dae592c4fbfcb79d57f310890a3 (patch) | |
tree | c9a3de45df16c8e7f1e52f2939ca1c3d6f8c0f83 /firmware/2lib/include/2ui.h | |
parent | c6cc2d6aacbceb07e28d6b99bf75fd40f150c79f (diff) | |
download | vboot-a893a93c04c37dae592c4fbfcb79d57f310890a3.tar.gz |
vboot/ui: Change root screen if DEV_DISABLE_BOOT is set
Change UI root screen to DEVELOPER_TO_NORM if DEV_DISABLE_BOOT is set in
FWMP, and disable all dev-mode shortcuts except '\t'. This ensures
DEVELOPER_TO_NORM and VB2_SCREEN_DEBUG_INFO are the only two screens
accessible from the UI.
Also hide the "Cancel" menu item in DEVELOPER_TO_NORM.
BUG=b:159579189, chromium:1181484
TEST=make runtests
TEST=emerge-asurada depthcharge
BRANCH=none
Change-Id: Ifedb53ae2eb968b1118340aef30cda00b7925f03
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2716747
Reviewed-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2ui.h')
0 files changed, 0 insertions, 0 deletions