summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2014-11-19 13:57:49 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-11-20 17:23:21 +0000
commit57660567b43f5aeabab2c7911ffaec4612b0a3ab (patch)
treec126b8855dd26720e597d25b47377cc5a8da53bf
parent79a9e0e63fd1001a3f9615f96c09acba5f20250d (diff)
downloadvboot-57660567b43f5aeabab2c7911ffaec4612b0a3ab.tar.gz
vboot: Add GBB flag to disable shutdown when lid is closed
This adds a GBB flag which can be used in VbExShutdownRequested to ignore the state of the lid switch and enable factory to run with the lid closed. BUG=chromium:434462 BRANCH=samus TEST=none in this commit, just adding a new unused flag Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Change-Id: Ife93adcc90b2c48e79d4e0c8164d2e64e6326ca7 Reviewed-on: https://chromium-review.googlesource.com/230884 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--firmware/include/gbb_header.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/gbb_header.h b/firmware/include/gbb_header.h
index 8a457c12..e73ea95b 100644
--- a/firmware/include/gbb_header.h
+++ b/firmware/include/gbb_header.h
@@ -65,6 +65,8 @@
#define GBB_FLAG_DEFAULT_DEV_BOOT_LEGACY 0x00000400
/* Disable PD software sync */
#define GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC 0x00000800
+/* Disable shutdown on lid closed */
+#define GBB_FLAG_DISABLE_LID_SHUTDOWN 0x00001000
#ifdef __cplusplus
extern "C" {