diff options
author | Wai-Hong Tam <waihong@google.com> | 2018-05-08 14:05:29 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-14 18:56:53 -0700 |
commit | f8e3859a67a4b80eacf74fb1e46f485f20d4d870 (patch) | |
tree | 6883933b35bf058900f61b46b9630a1e671e48a3 /board/cheza | |
parent | cbe7c128d054dd3c1ff758f84a44fc66a4ab29d5 (diff) | |
download | chrome-ec-f8e3859a67a4b80eacf74fb1e46f485f20d4d870.tar.gz |
cheza: Disable EC hibernate temporarily
EC can't be waked up once it enters hibernate. Need to figure out the
cause. Disable it temporarily in order not to block others.
BRANCH=none
BUG=b:79348203
TEST=Ran "help" on console and not "hibernate" command.
Change-Id: Ifba2b95df26b03e4389616ebb3fc217bb5a24d54
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1050748
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/cheza')
-rw-r--r-- | board/cheza/board.c | 8 | ||||
-rw-r--r-- | board/cheza/board.h | 4 |
2 files changed, 2 insertions, 10 deletions
diff --git a/board/cheza/board.c b/board/cheza/board.c index ac80be40bc..d31dad343d 100644 --- a/board/cheza/board.c +++ b/board/cheza/board.c @@ -127,14 +127,6 @@ static void ppc_interrupt(enum gpio_signal signal) sn5s330_interrupt(port); } -/* Wake-up pins for hibernate */ -const enum gpio_signal hibernate_wake_pins[] = { - GPIO_LID_OPEN, - GPIO_AC_PRESENT, - GPIO_POWER_BUTTON_L, -}; -const int hibernate_wake_pins_used = ARRAY_SIZE(hibernate_wake_pins); - void board_set_switchcap(int enable) { /* diff --git a/board/cheza/board.h b/board/cheza/board.h index ce7046fea7..ad96a53d4c 100644 --- a/board/cheza/board.h +++ b/board/cheza/board.h @@ -98,8 +98,8 @@ #define CONFIG_CHIPSET_RESET_HOOK #define CONFIG_POWER_COMMON -/* NPCX Features */ -#define CONFIG_HIBERNATE_PSL +/* TODO(b/79348203): Enable EC hibernate */ +#undef CONFIG_HIBERNATE /* I2C Ports */ #define I2C_PORT_BATTERY I2C_PORT_POWER |