diff options
author | Karthikeyan Ramasubramanian <kramasub@chromium.org> | 2018-11-27 11:22:20 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-12-05 01:13:29 -0800 |
commit | 6851e82deeedd89bee94560a75a2c7347836bc48 (patch) | |
tree | 50a4bb88e242a01d2d34e7f944684c2ce4b6e3f4 /power | |
parent | b91e34ca6bc7f3c5dae282eec5c2845ff5ec5b52 (diff) | |
download | chrome-ec-6851e82deeedd89bee94560a75a2c7347836bc48.tar.gz |
baseboard/octopus: Enable CONFIG_BOARD_HAS_RTC_RESET
Add a helper function to reset the RTC using EC_PCH_RTCRST GPIO.
Enable the config to use the hardware support to reset the RTC.
BUG=b:119678692
BRANCH=octopus
TEST=make -j buildall && Boot to ChromeOS. Create a forced scenario to
trigger an RTC reset and ensure that EC does not get reset while the SoC
boots to ChromeOS. Execute warm reboot from AP, cold reboot from EC and
wake from ec hibernate (10 iterations each) and suspend_stress_test for
50 iterations successfully.
Change-Id: I5eb1025cdaa62098de0250640788921621829cd1
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1354494
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'power')
-rw-r--r-- | power/apollolake.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/power/apollolake.h b/power/apollolake.h index 78aad94b5a..da5e86121f 100644 --- a/power/apollolake.h +++ b/power/apollolake.h @@ -16,6 +16,7 @@ #define IN_ALL_SYS_PG POWER_SIGNAL_MASK(X86_ALL_SYS_PG) #define IN_SLP_S3_N POWER_SIGNAL_MASK(X86_SLP_S3_N) #define IN_SLP_S4_N POWER_SIGNAL_MASK(X86_SLP_S4_N) +#define IN_PCH_SLP_S4_DEASSERTED IN_SLP_S4_N #define IN_SUSPWRDNACK POWER_SIGNAL_MASK(X86_SUSPWRDNACK) #define IN_SUS_STAT_N POWER_SIGNAL_MASK(X86_SUS_STAT_N) |