summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2020-08-20 12:14:32 +1000
committerCommit Bot <commit-bot@chromium.org>2020-08-20 07:13:06 +0000
commit8dfca725519e7d01e3e5a33e2b610c9b52137675 (patch)
tree65a301d672f5045d1ed1f7c7b0e1e9f7b860cb33
parent5b9a5157b554da2a340c7dcb989d28014f5fd34d (diff)
downloadchrome-ec-8dfca725519e7d01e3e5a33e2b610c9b52137675.tar.gz
Puff: Enable AP reset command handler
Description taken from crrev/2337430: TPMs with old firmware version cannot detect AP initiated reset eg. AP gets reset when CSE Lite SKU jumps from RO to RW. Enable AP reset command handler so that AP can request EC to perform the reset. This will lead to TPM detecting the AP reset. BUG=b:162290856 TEST=FAFT EC tests BRANCH=puff Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: I2c3b805b2099e6cc5fff8dc945b575a89ef04465 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2366313 Tested-by: Edward O'Callaghan <quasisec@chromium.org> Commit-Queue: Andrew McRae <amcrae@chromium.org> Commit-Queue: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
-rw-r--r--board/puff/board.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/puff/board.h b/board/puff/board.h
index 7f8c45be9e..60663698f4 100644
--- a/board/puff/board.h
+++ b/board/puff/board.h
@@ -76,6 +76,10 @@
#undef CONFIG_HOSTCMD_DEBUG_MODE
#define CONFIG_HOSTCMD_DEBUG_MODE HCDEBUG_OFF
+/* Enable AP Reset command for TPM with old firmware version to detect it. */
+#define CONFIG_CMD_AP_RESET_LOG
+#define CONFIG_HOSTCMD_AP_RESET
+
/* Chipset config */
#define CONFIG_CHIPSET_COMETLAKE_DISCRETE
/* check */