Fizz: Use button to trigger recovery mode
Currently, Fizz EC jumps to RW earlier than it opens console. By the
time a host command is sent to set recovery event, EC is already in
RW. Thus, dut-control power_state:rec fails.
This patch makes 'dut-control power_state:rec' toggle recovery button
('rec_mode') instead of sending a host command to set recovery event.
TEST=cros_workon hdctool, launch servod, then verify
'dut-control power_state:rec' puts a DUT into recovery mode.
Signed-off-by: Daisuke Nojiri <email@example.com>
Reviewed-by: Wai-Hong Tam <firstname.lastname@example.org>
Reviewed-by: Todd Broch <email@example.com>
1 file changed