diff options
author | Hung-Te Lin <hungte@chromium.org> | 2018-12-12 17:52:54 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-03 15:04:14 -0800 |
commit | ed4a54ba7e71dedca0cd6e728a88fbcc2da132ca (patch) | |
tree | 3fccb1db83f6f3e24f4fad05359b0ac60937e21e /futility/updater.h | |
parent | a32c930e8c46424a3bba3c296fd78b3e60f50aeb (diff) | |
download | vboot-ed4a54ba7e71dedca0cd6e728a88fbcc2da132ca.tar.gz |
futility: updater: Add '--fast' for quick developmentstabilize-11554.B
When using 'futility update' with Servo Micro or CCD, the programmer is
pretty slow that every invocation of flashrom would take a very long
time, so re-reading firmware contents when writing (flashrom -w) seems
redundant. For such usage, a '--fast' would be helpful that
- Uses the last read image (image_current) as --diff
- Add --noverify
BUG=None
TEST=make futil; tests/futility/run_test_scripts.sh $(pwd)/build/futility
BRANCH=None
Change-Id: I1ad57185160a082ea6b5c94b837a4d3ba708b587
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1375495
Diffstat (limited to 'futility/updater.h')
-rw-r--r-- | futility/updater.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/futility/updater.h b/futility/updater.h index 7db6ec40..c75493ae 100644 --- a/futility/updater.h +++ b/futility/updater.h @@ -113,6 +113,7 @@ struct updater_config { int legacy_update; int factory_update; int check_platform; + int fast_update; int verbosity; const char *emulation; }; @@ -125,6 +126,7 @@ struct updater_config_arguments { char *output_dir; char *repack, *unpack; int is_factory, try_update, force_update, do_manifest, host_only; + int fast_update; int verbosity; }; |