summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorMatt Delco <delco@google.com>2019-04-23 13:37:26 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-05-16 03:15:05 -0700
commit28c21d92edbea4af68b15c2722b5d79ae9255b65 (patch)
tree24aee676e9aa7ac4358158ceac8a6003028c1746 /firmware/include
parent6eeddec87185eac611ceb3fb8003f04c503fd54e (diff)
downloadvboot-28c21d92edbea4af68b15c2722b5d79ae9255b65.tar.gz
firmware: replace recovery mode flag with physical presence
vboot can query the physical presence flag instead of the recovery mode flag. In general, the physical presence flag will map to the recovery mode button if a board has it, and otherwise will map to the physical presence button (usually the power button). Cq-Depend: chromium:1580454 BUG=b:129471321 BRANCH=None TEST=make runtests. Built firmware and slashed on sarien. Verified that displayed text references power button and that pressing power button initiates dev mode (vs. powering off the system). Change-Id: I22f29de192da67b8eece27cbdd5aa64e97717bfc Signed-off-by: Matt Delco <delco@google.com> Reviewed-on: https://chromium-review.googlesource.com/1580472 Commit-Ready: Matt Delco <delco@chromium.org> Tested-by: Matt Delco <delco@chromium.org> Reviewed-by: Matt Delco <delco@chromium.org>
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/vboot_api.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h
index 682e7fc5..c5b382ac 100644
--- a/firmware/include/vboot_api.h
+++ b/firmware/include/vboot_api.h
@@ -204,8 +204,6 @@ typedef struct VbCommonParams {
} VbCommonParams;
/* Flags for VbExGetSwitches() */
-/* Recovery button was pressed at boot time. */
-#define VB_SWITCH_FLAG_REC_BUTTON_PRESSED 0x00000002
/* Report if user is currently present (typically via power button) */
#define VB_SWITCH_FLAG_PHYS_PRESENCE_PRESSED 0x00000004
/* Allow USB boot on transition to dev */