summaryrefslogtreecommitdiff
path: root/board/hatch/board.c
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2019-01-24 16:57:38 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-01-31 18:19:03 -0800
commitb0ae267a7451e440ae1d7b73dd42f905a8998f48 (patch)
tree9e52af83731dc68b8f191653c05d87e31c54d112 /board/hatch/board.c
parent9bcaf16c7de255e2e906bef795f0b62b0a19c124 (diff)
downloadchrome-ec-b0ae267a7451e440ae1d7b73dd42f905a8998f48.tar.gz
hatch: Add support for PSL wake sources
This CL adds the alternate function defines for the 4 PSL wake source pins, populates the wake pins table, and enables the config option for PSL mode. BRANCH=none BUG=b:123343366 TEST=Use EC console command to force hiberate and verified EC wakes from hibernate via power button, EC reset, connecting AC power, and opening of lid switch. Change-Id: I6d5ad282f53e9090aafd4164510741d7cfe7907a Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/1435971 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board/hatch/board.c')
-rw-r--r--board/hatch/board.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/board/hatch/board.c b/board/hatch/board.c
index cd6d7cd365..44ffa432cb 100644
--- a/board/hatch/board.c
+++ b/board/hatch/board.c
@@ -72,12 +72,6 @@ static void tcpc_alert_event(enum gpio_signal signal)
#include "gpio_list.h" /* Must come after other header files. */
/******************************************************************************/
-/* Wake up pins */
-const enum gpio_signal hibernate_wake_pins[] = {
-};
-const int hibernate_wake_pins_used = ARRAY_SIZE(hibernate_wake_pins);
-
-/******************************************************************************/
/* SPI devices */
const struct spi_device_t spi_devices[] = {
};