summaryrefslogtreecommitdiff
path: root/zephyr/projects/asurada/hayato
diff options
context:
space:
mode:
authorTim Lin <tim2.lin@ite.corp-partner.google.com>2021-09-08 10:51:41 +0800
committerCommit Bot <commit-bot@chromium.org>2021-09-10 17:34:45 +0000
commit77c74fa5ed663478062f652559eb17e015363b6f (patch)
tree48512d9d2f8fcd60cd7ca7ef2cc3a2d4c947ca41 /zephyr/projects/asurada/hayato
parentf7de5f9b916e36cd36d36447b605a593b0728d8e (diff)
downloadchrome-ec-77c74fa5ed663478062f652559eb17e015363b6f.tar.gz
asurada: move the hibernate routine into separate file
Move the hibernate routine from baseboard.c to separate hibernate.c files. BUG=b:198305804 BRANCH=none TEST=make BOARD=asurada -j The interrupt of GPIO_AC_PRESENT can wake up CPU in hibernate mode. Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com> Change-Id: I0aea0b812f535c907ac8963fc1f09206dfef5956 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3146773 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/asurada/hayato')
-rw-r--r--zephyr/projects/asurada/hayato/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/projects/asurada/hayato/CMakeLists.txt b/zephyr/projects/asurada/hayato/CMakeLists.txt
index d18e8f20ba..660b0a9088 100644
--- a/zephyr/projects/asurada/hayato/CMakeLists.txt
+++ b/zephyr/projects/asurada/hayato/CMakeLists.txt
@@ -18,6 +18,7 @@ set(PLATFORM_EC_BOARD "${PLATFORM_EC}/board/hayato" CACHE PATH
zephyr_library_sources(
"${PLATFORM_EC_BASEBOARD}/board_chipset.c"
"${PLATFORM_EC_BASEBOARD}/board_id.c"
+ "${PLATFORM_EC_BASEBOARD}/hibernate.c"
"${PLATFORM_EC_BASEBOARD}/regulator.c"
"${PLATFORM_EC_BASEBOARD}/usbc_config.c"
"${PLATFORM_EC_BASEBOARD}/usb_pd_policy.c")