summaryrefslogtreecommitdiff
path: root/chip/mec1322/system.c
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2017-04-06 17:43:16 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-04-14 13:49:31 -0700
commit20c439be209a9cc0bb949ad21f289c453126395f (patch)
treeb7e5d1a9cab98819b78b952edea09b678f598bd2 /chip/mec1322/system.c
parentc487e18a3f203dc8793e884730eb66b2706deb26 (diff)
downloadchrome-ec-20c439be209a9cc0bb949ad21f289c453126395f.tar.gz
system: Shutdown AP before entering hibernate mode
BUG=chromium:702451 BRANCH=none TEST=manually test on gru: confirm 'Alt+VolUp+h' puts gru in hibernate mode and AC plug-in wakes it up. Change-Id: I3e1134b866dea5d3cc61f9b3dad31c3ff0bd9096 Reviewed-on: https://chromium-review.googlesource.com/470787 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'chip/mec1322/system.c')
-rw-r--r--chip/mec1322/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mec1322/system.c b/chip/mec1322/system.c
index 4b2738e969..ba4b574b06 100644
--- a/chip/mec1322/system.c
+++ b/chip/mec1322/system.c
@@ -215,7 +215,7 @@ uint32_t system_get_scratchpad(void)
return MEC1322_VBAT_RAM(HIBDATA_INDEX_SCRATCHPAD);
}
-void system_hibernate(uint32_t seconds, uint32_t microseconds)
+void chip_hibernate(uint32_t seconds, uint32_t microseconds)
{
int i;