host/lib/flashrom: enable --fast-verify for write operations
We caused a boot-speed regression as we are currently verifying the
entire flash chip after any write.
Flashrom has an option --fast-verify which verifies only the region
written, which is significantly faster. It also looks like this is
the way mosys used to handle flashrom writes, so we can align with the
old behavior this way.
TEST=unit tests, and boot speed regression went away (on octopus)
Signed-off-by: Jack Rosenthal <firstname.lastname@example.org>
Reviewed-by: Joel Kitching <email@example.com>
2 files changed