diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2014-11-19 13:57:49 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-04-02 19:04:53 +0000 |
commit | 3d6a7e4ccd3ef706fe8296e18704a3f05093fa60 (patch) | |
tree | 7f1520079daa8de0dce21b2bdb8e82a226ac798c | |
parent | 894ad82932bb1b867b57578ff5a143a813d00d40 (diff) | |
download | vboot-3d6a7e4ccd3ef706fe8296e18704a3f05093fa60.tar.gz |
CHERRY-PICK: vboot: Add GBB flag to disable shutdown when lid is closedfirmware-sumo-5216.382.Bfirmware-rambi-5216.Bfirmware-orco-5216.362.Bfirmware-ninja-5216.383.Bfirmware-heli-5216.392.Bfirmware-banjo-5216.334.B
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=none
BRANCH=banjo
TEST=none in this commit, just adding a new unused flag
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original Change-Id: Ife93adcc90b2c48e79d4e0c8164d2e64e6326ca7
Reviewed-on: https://chromium-review.googlesource.com/230884
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Conflicts:
firmware/include/gbb_header.h
Change-Id: I725a4469ff5fb0aa724c4722eed83ec2f4bc907e
Reviewed-on: https://chromium-review.googlesource.com/263211
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: T.H. Lin <T.H_Lin@quantatw.com>
Commit-Queue: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
-rw-r--r-- | firmware/include/gbb_header.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/gbb_header.h b/firmware/include/gbb_header.h index 86aa12a6..c88eb1bf 100644 --- a/firmware/include/gbb_header.h +++ b/firmware/include/gbb_header.h @@ -62,6 +62,8 @@ #define GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC 0x00000200 /* Default to booting legacy OS when dev screen times out */ #define GBB_FLAG_DEFAULT_DEV_BOOT_LEGACY 0x00000400 +/* Disable shutdown on lid closed */ +#define GBB_FLAG_DISABLE_LID_SHUTDOWN 0x00001000 #ifdef __cplusplus extern "C" { |