summaryrefslogtreecommitdiff
path: root/baseboard/brya
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-03-17 15:32:14 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-25 04:16:47 +0000
commit9c76fc7384fbeb20de6f39a25b690f9ceec86626 (patch)
tree68c539331b0a3d033fcc7b66e79e7b2cf4f9a995 /baseboard/brya
parent0b80a421764965e6053f693cf0a29eddb07e9eef (diff)
downloadchrome-ec-9c76fc7384fbeb20de6f39a25b690f9ceec86626.tar.gz
brya: Reset SLP VW signals on EC-AP eSPI reset
This enables an option for the NPCX eSPI support code to reset SLP signals when eSPI# is asserted because of a global reset. This is needed exclusively on platforms that do not use deep Sx. The EC console apshutdown command forces the AP into G3 but the SLP_S4 signal is not reset in this case as virtual wire signals are not reset on ungraceful AP shutdown (global reset). BRANCH=none BUG=b:179977907 TEST=With the config defined, used EC "powerinfo" command to observe the SLP_S4 virtual wire is now reset after "apshutdown" command. Change-Id: I828f8c69657c4884629d0ca07f0ac1662aff57f0 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2771141 Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'baseboard/brya')
-rw-r--r--baseboard/brya/baseboard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/baseboard/brya/baseboard.h b/baseboard/brya/baseboard.h
index 664abee578..981d33c7a9 100644
--- a/baseboard/brya/baseboard.h
+++ b/baseboard/brya/baseboard.h
@@ -96,6 +96,8 @@
#define CONFIG_POWER_SLEEP_FAILURE_DETECTION
#define CONFIG_POWER_TRACK_HOST_SLEEP_STATE
+#define CONFIG_HOSTCMD_ESPI_RESET_SLP_SX_VW_ON_ESPI_RST
+
#define CONFIG_BOARD_HAS_RTC_RESET
#define CONFIG_CMD_AP_RESET_LOG
#define CONFIG_HOSTCMD_AP_RESET