From 8dfca725519e7d01e3e5a33e2b610c9b52137675 Mon Sep 17 00:00:00 2001 From: Andrew McRae Date: Thu, 20 Aug 2020 12:14:32 +1000 Subject: 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 Change-Id: I2c3b805b2099e6cc5fff8dc945b575a89ef04465 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2366313 Tested-by: Edward O'Callaghan Commit-Queue: Andrew McRae Commit-Queue: Edward O'Callaghan Reviewed-by: Edward O'Callaghan --- board/puff/board.h | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- cgit v1.2.1