summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2020-08-17 11:44:14 -0600
committerCommit Bot <commit-bot@chromium.org>2020-08-17 22:43:57 +0000
commit6c4018cd854732748a6d75f83ad44831eb38bcbb (patch)
tree9aa870f8e4e6334a0588e0bae77963a3a6c3c055
parentb2c02857d1d3655a067bcc352f7ab1d438d638b2 (diff)
downloadchrome-ec-6c4018cd854732748a6d75f83ad44831eb38bcbb.tar.gz
volteer: Add support for EC_CMD_AP_RESET host command
This command is needed so that the EC can perform an SoC-level cold reset after the CSE Lite jumps from its RO to its RW image. BUG=b:162977697 BRANCH=none TEST=`ectool apreset` works Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Change-Id: Iff6fa572c5660b67152f9930b9bad9f82ff6c6ee Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2360454 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r--baseboard/volteer/baseboard.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/baseboard/volteer/baseboard.h b/baseboard/volteer/baseboard.h
index ab459c06fd..b5b467ed6f 100644
--- a/baseboard/volteer/baseboard.h
+++ b/baseboard/volteer/baseboard.h
@@ -168,6 +168,15 @@
#define CONFIG_CMD_USB_PD_PE
/*
+ * Because of the CSE Lite, an extra cold AP reset is needed, and older cr50
+ * firmware will not be able to detect it because of updated cr50 pin straps.
+ * Therefore, the AP will require the EC to reset it so that the proper reset
+ * signal will be read and verstage can execute again.
+ */
+#define CONFIG_CMD_AP_RESET_LOG
+#define CONFIG_HOSTCMD_AP_RESET
+
+/*
* The PS8815 TCPC was found to require a 50ms delay to consistently work
* with non-PD chargers. Override the default low-power mode exit delay.
*/