CHERRY-PICK: vboot: Handle GBB_FLAG_DISABLE_LID_SHUTDOWN

Handle GBB_FLAG_DISABLE_LID_SHUTDOWN to disable lid-triggered system
shutdown.

BUG=none
BRANCH=Banjo
TEST=Manual on Banjo, 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>
2 files changed