summaryrefslogtreecommitdiff
path: root/board/cr50/board.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2019-05-24 17:07:25 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-06-03 06:22:59 -0700
commit873a0cc2978da4879431e84c7a3425b984b83cd1 (patch)
tree5ed7d888aa67328666bf99b3a6f5bde574540218 /board/cr50/board.h
parent427019282c43804c9ce859c59f9ed14ee991719d (diff)
downloadchrome-ec-873a0cc2978da4879431e84c7a3425b984b83cd1.tar.gz
cr50: limit ability to disable TPM to certain boards
The TPM disable function requires support from the AP firmware side, only certain Chrome OS devices provide this support. This patch adds a board property for this capability and enables it for the Wilco family of boards. BRANCH=cr50, cr50-mp BUG=b:133189891 TEST=verified that Wilco still could be taken through diagnostics mode back to normal while maintaining the user account. Change-Id: I18174820937500c9b72335f2031c346815b95079 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1636675 Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'board/cr50/board.h')
-rw-r--r--board/cr50/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index eabd819a15..4bc5055fe7 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -324,6 +324,8 @@ int board_uses_closed_loop_reset(void);
* @return 0 if option is not set, !=0 if option set.
*/
int board_has_ina_support(void);
+/* The board allows vendor commands to enable/disable tpm. */
+int board_tpm_mode_change_allowed(void);
int board_id_is_mismatched(void);
/* Allow for deep sleep to be enabled on AP shutdown */
int board_deep_sleep_allowed(void);