summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2021-08-23 15:26:58 -0700
committerCommit Bot <commit-bot@chromium.org>2021-08-24 17:40:10 +0000
commitd2c9b677dfaea4f89e6799dddc5f2583fddcfe4a (patch)
treed9d51f9e510472ebfe2376d9d00a908add921110 /baseboard
parent59fe6576b797d44c8d57c4e28945a4ec137fdf16 (diff)
downloadchrome-ec-d2c9b677dfaea4f89e6799dddc5f2583fddcfe4a.tar.gz
herobrine_npcx9: Enable PSL hibernate and define the PMU module
Enable the PSL mode for EC hibernate and define the PMU module. After EC enters hibernate, the PSL_OUT is off and the PPC chip is powered off. So the PPC chip can be woken up from the dead battery mode when the external AC is plugged. BRANCH=None BUG=b:193583152, b:196405396 TEST=Entered EC hibernate, plugging AC can wake EC up. Change-Id: I976d7fa7b7dfa57ee8e79501d5973710ef2192e7 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3115436 Reviewed-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r--baseboard/herobrine/baseboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/baseboard/herobrine/baseboard.h b/baseboard/herobrine/baseboard.h
index 5d272ea67e..8b014a4e77 100644
--- a/baseboard/herobrine/baseboard.h
+++ b/baseboard/herobrine/baseboard.h
@@ -36,6 +36,7 @@
#define CONFIG_FPU
#define CONFIG_PWM
#define CONFIG_PWM_DISPLIGHT
+#define CONFIG_HIBERNATE_PSL
#define CONFIG_VBOOT_HASH