summaryrefslogtreecommitdiff
path: root/board/cr50/recovery_button.c
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2019-01-22 16:59:13 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-01-30 13:06:41 -0800
commit54c06033f3813013296c9945d6ed13cd258a1db8 (patch)
tree36ab20ac4690c825e2d024c5b96047fd3ab92099 /board/cr50/recovery_button.c
parentcc98aa2569f249071d75b435ac400a4c060c43fb (diff)
downloadchrome-ec-54c06033f3813013296c9945d6ed13cd258a1db8.tar.gz
cr50: Add VENDOR_CC_GET_PWR_BTN to query power button
Add the new TPM command VENDOR_CC_GET_PWR_BTN used to query whether there has been a recent (within 10 seconds) power button press by the user. This is used by coreboot on Sarien/Arcada to confirm user presence prior to enabling developer mode and prior to launching closed source diagnostics. BUG=b:119346609 BRANCH=cr50 TEST=make buildall. Tested power button query from coreboot recovery screen screen on Arcada and Sarien platforms. Change-Id: I20f91204fe30dda27b0d14b755bcd357938029f5 Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1432313 Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'board/cr50/recovery_button.c')
0 files changed, 0 insertions, 0 deletions