| commit | cb9f18bcfbcaf014011a00a503f6dcc31a0259c8 | [log] [tgz] |
|---|---|---|
| author | Hsuan Ting Chen <[email protected]> | Tue May 20 12:05:04 2025 |
| committer | Chromeos LUCI <[email protected]> | Sun Jun 22 23:48:11 2025 |
| tree | b4c91b7e4dfebc958015002f300de4dc5d19286a | |
| parent | 357561a2a82ef0f64e03c33a47181c8f78f47951 [diff] |
futility/updater: Add warning for full firmware update without WP This commit introduces a warning message to the `updater.c` file. When write protection is disabled, and a full firmware update is about to proceed, a warning will now be displayed to the user. This message clarifies that the entire SPI flash, including RO (Read-Only) sections, will be overwritten. Additionally, this commit renames the `optarg` variable to `optval` in `handle_flash_argument` to prevent conflicting with `unistd.h`. BUG=none BRANCH=none TEST=futility update -i zero.bin --mode=autoupdate TEST=and see the warning Change-Id: Idf544e02f9d3a53a42049b017178458484ccd6c6 Signed-off-by: Hsuan Ting Chen <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/6567851 Reviewed-by: Yu-Ping Wu <[email protected]> Commit-Queue: Yu-Ping Wu <[email protected]> Tested-by: Yu-Ping Wu <[email protected]>