diff options
author | Ben Chen <ben.chen2@quanta.corp-partner.google.com> | 2021-03-24 19:36:00 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-25 09:07:57 +0000 |
commit | 2f1f84228ada9e9c1d6dd35af41de6345eb8bf39 (patch) | |
tree | a436ec1d4fab22b188c4e540d9d3f7d328b6215d /baseboard | |
parent | 3ada11c2f06eca0fed3ec0781cc489db6ebde6ec (diff) | |
download | chrome-ec-2f1f84228ada9e9c1d6dd35af41de6345eb8bf39.tar.gz |
spherion: enable GPIO_EN_SPL_Z at hibernate process
Default implement GPIO_EN_SLP_Z at hibernate process
BUG=b:183574877
BRANCH=asurada
TEST=make buildall PASS
Change-Id: I58c26fa8505c4f528507e5eae4d48d4751fceda5
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2784325
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/asurada/baseboard.c | 2 | ||||
-rw-r--r-- | baseboard/asurada/baseboard.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/baseboard/asurada/baseboard.c b/baseboard/asurada/baseboard.c index a753ac38b4..5376aa6dc2 100644 --- a/baseboard/asurada/baseboard.c +++ b/baseboard/asurada/baseboard.c @@ -93,7 +93,7 @@ __override void board_hibernate_late(void) * GPIO_EN_SLP_Z not implemented in rev0/1, * fallback to usual hibernate process. */ - if (board_get_version() <= 1) + if (IS_ENABLED(BOARD_ASURADA) && board_get_version() <= 1) return; isl9238c_hibernate(CHARGER_SOLO); diff --git a/baseboard/asurada/baseboard.h b/baseboard/asurada/baseboard.h index 6da7641f22..26e75ea97d 100644 --- a/baseboard/asurada/baseboard.h +++ b/baseboard/asurada/baseboard.h @@ -217,6 +217,5 @@ enum board_sub_board { int board_get_version(void); void board_reset_pd_mcu(void); - #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BASEBOARD_H */ |