crospts: Add flash image function

Update the DUT image prior test runs. The image update function calls
the fflash and clobber stateful partition.

BUG=b:326148869
TEST=./run_crospts.py -f R122 -p all <DUT>

Change-Id: I1f19db81bacd6fc5861c55b9573636dc1609cae9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crospts/+/5313003
Reviewed-by: David Stevens <stevensd@chromium.org>
Tested-by: Darren Wu <darrenwu@chromium.org>
Commit-Queue: Darren Wu <darrenwu@chromium.org>
1 file changed
tree: 2249fc17a1ed8a45a7a2a58072725536180a1217
  1. build/
  2. docs/
  3. tools/
  4. .gitignore
  5. DIR_METADATA
  6. OWNERS
  7. PRESUBMIT.cfg