BACKPORT: boot state: remove drain timers option
authorAaron Durbin <adurbin@chromium.org>
Mon, 6 May 2013 15:52:24 +0000 (10:52 -0500)
committerChromeBot <chrome-bot@google.com>
Wed, 8 May 2013 18:41:55 +0000 (11:41 -0700)
commita8e1aec4b3d221fc741578983c9ced60e92f15dc
treeeae17e1d95b9902328282bf4ca9b07d9911836c6
parentcbc47ea87f127641dfacc7f65faca5e174a683ec
BACKPORT: boot state: remove drain timers option

Internally there were states that had an attribute to
indicate that the timers needed to be drained. Now that
there is a way to block state transitions rely on this
ability instead of draining timers. The timers will
drain themselves when a state is blocked.

BUG=None
BRANCH=None
TEST=Compiled and booted

Change-Id: Idfeabcc5249ca315a48740652b8892e465d08990
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/50456
Reviewed-by: Stefan Reinauer <reinauer@google.com>
src/lib/hardwaremain.c