flash_fp_mcu: Add automatic service stop/restart
flash_fp_mcu: Add automatic service stop/restart

The normal invocation of flash_fp_mcu is without biod and timberslide
being stopped. This is a problem, since this script unbinds/bind
drivers that biod and timberslide have open and can interact with.

BRANCH=none
BUG=b:188985272 b:181635081
TEST=# On Nocturne
     scp util/flash_fp_mcu dut1:/usr/local/bin/flash_fp_mcu

     ssh dut1 flash_fp_mcu --hello
     # Ensure that the biod and timebrslide were stopped and restarted.
     # No warnings about other services having files open should occur.

     ssh dut1 flash_fp_mcu --noservices --hello
     # Ensure that no services were stopped/started and a warning should
     # be emitted about processes with the device file open.

     ssh dut1 flash_fp_mcu --noservices --hello
     # Should see that the warnings shown now show that the open file
     # was deleted.

Cq-Depend: chromium:2918383, chromium:2918638
Signed-off-by: Craig Hesling <383db090fd8ef907a606ac8a9eccd2962bc489cf@chromium.org>
Change-Id: I021b922fb58defcbe608492239e311a5f5296fca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2914502
Reviewed-by: Josie Nordrum <15709ebcc9b54f095b12491b186117e19e6ed974@google.com>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec