summaryrefslogtreecommitdiff
path: root/firmware/include/vboot_api.h
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2020-02-23 13:33:18 +0800
committerCommit Bot <commit-bot@chromium.org>2020-02-26 00:33:20 +0000
commit3ab093d9604c4d19255eac2c02b991b1b00b8999 (patch)
treecdbc05c8581b723752eff8b3b23bba50dd52df3c /firmware/include/vboot_api.h
parent024d9c1879dcb808e3e819f485367e0249a18081 (diff)
downloadvboot-stabilize-volteer-12931.B.tar.gz
vboot: rename VbExGetSwitches to vb2ex_physical_presence_pressedstabilize-volteer-12931.B
The only purpose of this function is to get the physical presence switch. Rename it appropriately, and migrate function header into 2api.h. BUG=b:124141368, chromium:1035761 TEST=Build locally BRANCH=none Change-Id: Ice3e3a362ca2d2e3aa18c60a129f67d5139daf04 Cq-Depend: chromium:2069629 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2069628 Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'firmware/include/vboot_api.h')
-rw-r--r--firmware/include/vboot_api.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h
index 7fc79396..8f21fe03 100644
--- a/firmware/include/vboot_api.h
+++ b/firmware/include/vboot_api.h
@@ -47,10 +47,6 @@ typedef struct VbSharedDataHeader VbSharedDataHeader;
#define VB_SHARED_DATA_MIN_SIZE 3072
#define VB_SHARED_DATA_REC_SIZE 16384
-/* Flags for VbExGetSwitches() */
-/* Report if user is currently present (typically via power button) */
-#define VB_SWITCH_FLAG_PHYS_PRESENCE_PRESSED 0x00000004
-
/*
* We use disk handles rather than indices. Using indices causes problems if
* a disk is removed/inserted in the middle of processing.
@@ -585,11 +581,6 @@ uint32_t VbExKeyboardRead(void);
*/
uint32_t VbExKeyboardReadWithFlags(uint32_t *flags_ptr);
-/**
- * Return the current state of the switches specified in request_mask
- */
-uint32_t VbExGetSwitches(uint32_t request_mask);
-
/*****************************************************************************/
/* Misc */