binman: Move state logic into the state module
authorSimon Glass <sjg@chromium.org>
Fri, 14 Sep 2018 10:57:20 +0000 (04:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Sep 2018 17:09:01 +0000 (11:09 -0600)
commit2a72cc72ca29fb14a61dd50a60ffcd096a0be317
treef0055eaf05007ba0a97da8ab7a0ff54335e7af9c
parentc55a50f558f13c6c018c0e5cc0f0d765711a3828
binman: Move state logic into the state module

Rather than reaching into this module from control, move the code that
needs this info into state.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/control.py
tools/binman/state.py