summaryrefslogtreecommitdiff
path: root/baseboard/hatch/baseboard.h
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 /baseboard/hatch/baseboard.h
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 'baseboard/hatch/baseboard.h')
-rw-r--r--baseboard/hatch/baseboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/baseboard/hatch/baseboard.h b/baseboard/hatch/baseboard.h
index 1ed7381022..2f3531aca2 100644
--- a/baseboard/hatch/baseboard.h
+++ b/baseboard/hatch/baseboard.h
@@ -19,6 +19,7 @@
/* EC Defines */
#define CONFIG_ADC
+#define CONFIG_HIBERNATE_PSL
#define CONFIG_PWM
#define CONFIG_VBOOT_HASH
#define CONFIG_VSTORE