Ignore power button if held on startup
Ignore a power button push until after we have seen it released,
to avoid shutting down immediately if the power button is held
down on startup.
1) Press and hold esc+refresh+power.
2) Depthcharge shows INSERT screen and does not power off.
3) Release esc+refresh+power.
4) Press and release power.
5) Depthcharge powers off.
TEST=test_that --fast -b grunt $grunt_ip firmware_ECLidShutdown
TEST=FEATURES=test emerge-grunt --nodeps vboot_reference
Signed-off-by: Edward Hill <firstname.lastname@example.org>
Reviewed-by: Raul E Rangel <email@example.com>
Reviewed-by: Julius Werner <firstname.lastname@example.org>
2 files changed