summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorChromeOS Developer <dparker@chromium.org>2014-01-30 15:27:58 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-02-01 02:48:01 +0000
commit6fe3172ac05a2b51422f1eaf99237e375184613f (patch)
tree6a1d6a765f9025959203a975770ea0ef0f0ab44a /include/config.h
parentc4383ca93f5d2aeb0c03e0b7ae623cf2d1b50ab0 (diff)
downloadchrome-ec-6fe3172ac05a2b51422f1eaf99237e375184613f.tar.gz
Config option for using power button with lid closedstabilize-5414.Bstabilize-5412.B
BUG=chrome-os-partner:24912 BRANCH=baytrail TEST=Manual. Enable CONFIG_POWER_BUTTON_IGNORE_LID on a device, boot it, and go into dock mode with external monitor attached. Fake-close the lid with a magnet or servo. Verify the power button still sends press/release events to the host with evtest. Change-Id: Idb05375eee0743a8a2c459070854c03fe3afe894 Signed-off-by: Dave Parker <dparker@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/184493 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 46b6faef17..c84186620f 100644
--- a/include/config.h
+++ b/include/config.h
@@ -574,6 +574,9 @@
/* Compile common code to support power button debouncing */
#undef CONFIG_POWER_BUTTON
+/* Allow the power button to send events while the lid is closed */
+#undef CONFIG_POWER_BUTTON_IGNORE_LID
+
/* Support sending the power button signal to x86 chipsets */
#undef CONFIG_POWER_BUTTON_X86