flash_ec: Disconnect EC-3PO interps when flashing.
Due to the recent changes for EC-3PO in servod, flash_ec needs to be
modified in the same way that was done for ToT.
Since the stm32 MCUs are programmed over the UART, we need to make
some changes to allow the interpreter to stop listening to the UART
PTY when flash_ec needs those PTYs. Otherwise, the EC-3PO interpreter
will interfere with the programming and cause the flash to fail every
TEST=Tested same patch on other branches to flash stm32 ECs.
Signed-off-by: Aseda Aboagye <email@example.com>
Reviewed-by: Aseda Aboagye <firstname.lastname@example.org>
Commit-Queue: Aseda Aboagye <email@example.com>
Tested-by: Aseda Aboagye <firstname.lastname@example.org>
1 file changed