CHERRY-PICK: vboot: Handle GBB_FLAG_DISABLE_LID_SHUTDOWN

Handle GBB_FLAG_DISABLE_LID_SHUTDOWN to disable lid-triggered system
shutdown.

BUG=none
BRANCH=Gnawty
TEST=Manual on Gnawty, with corresponding depthcharge change. Set GBB 
flag 0x1000 and disable powerd launch on boot. Close lid and issue 
'reboot' command over ssh. Verify system reboots successfully into OS.

Original Change-Id: Id2731508296a5ba9229f969f8224565d64f3d4a3
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/234995
Reviewed-by: Randall Spangler <rspangler@chromium.org>

Change-Id: Ibe0eec0d3235d325063b72c8bfd5ad7e010c4871
Reviewed-on: https://chromium-review.googlesource.com/263202
Reviewed-by: Shawn N <shawnn@chromium.org>
Tested-by: T.H. Lin <T.H_Lin@quantatw.com>
Commit-Queue: Shawn N <shawnn@chromium.org>
(cherry picked from commit 894ad82932bb1b867b57578ff5a143a813d00d40)
Reviewed-on: https://chromium-review.googlesource.com/274260
Tested-by: Katherine Hsieh <Katherine.Hsieh@quantatw.com>
Commit-Queue: Katherine Hsieh <Katherine.Hsieh@quantatw.com>
2 files changed