summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2020-08-04 17:03:00 -0600
committerCommit Bot <commit-bot@chromium.org>2020-08-13 13:17:08 +0000
commit8848596a4a463fba7134065f39ee49db982fb448 (patch)
treeb88a875eacbf8fb4e46297206bfa365ad926a660
parent2cd146cf6fe1b752ef62b96667a4ecf839dd3c86 (diff)
downloadchrome-ec-8848596a4a463fba7134065f39ee49db982fb448.tar.gz
baseboard/dedede: Enable AP reset command handler
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:162386991 BRANCH=None TEST=Ensure that the EC handles AP reset command. Ensure that the device boots to OS after the reset. Change-Id: I1e167af89aaa28c731674ee3650904d702efc8df Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2337430 Reviewed-by: Diana Z <dzigterman@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: Karthikeyan Ramasubramanian <kramasub@chromium.org> Commit-Queue: Karthikeyan Ramasubramanian <kramasub@chromium.org>
-rw-r--r--baseboard/dedede/baseboard.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/baseboard/dedede/baseboard.h b/baseboard/dedede/baseboard.h
index b80fde6eb2..d6257ba903 100644
--- a/baseboard/dedede/baseboard.h
+++ b/baseboard/dedede/baseboard.h
@@ -87,6 +87,12 @@
/* Optional console commands */
#define CONFIG_CMD_CHARGER_DUMP
+
+/* Enable AP Reset command for TPM with old firmware version to detect it. */
+#define CONFIG_CMD_AP_RESET_LOG
+#define CONFIG_HOSTCMD_AP_RESET
+
+/* Enable i2ctrace command */
#define CONFIG_I2C_DEBUG
/* EC Modules */