cgpt.py: Use --fast-verify when writing with flashrom

This patch makes the script generated by cgpt.py use flashrom's
--fast-verify option to make writing to SPI NOR flash much faster in
generating the partition table for raw NAND devices.

BUG=chromium:444117
TEST=copy-pasted the generated write_base_table function and ran it on a
Storm with NAND rework, finding it to be much faster (seconds vs
minutes).

Change-Id: I0e8fd0cca63e7fcb510a82dba79c9099fa53ec7f
Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/243319
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed