vboot: Handle GBB_FLAG_DISABLE_LID_SHUTDOWN

Handle GBB_FLAG_DISABLE_LID_SHUTDOWN to disable lid-triggered system
shutdown.

BUG=chromium:434462
BRANCH=Auron
TEST=Manual on Auron, 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.

Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/234995
Reviewed-by: Randall Spangler <rspangler@chromium.org>
(cherry picked from commit 5d652cdffa70dc772e80548a760e1f0d67de273f)
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>

Change-Id: Id2731508296a5ba9229f969f8224565d64f3d4a3
Reviewed-on: https://chromium-review.googlesource.com/238740
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Commit-Queue: Duncan Laurie <dlaurie@chromium.org>
Trybot-Ready: Duncan Laurie <dlaurie@chromium.org>
Tested-by: Duncan Laurie <dlaurie@chromium.org>
2 files changed