diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-10 11:08:42 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-10 11:08:42 +0000 |
| commit | 7431046ea619cdce02654b2b67cacd261a350a65 (patch) | |
| tree | a6a586c4da396b0e52fa60abcbb874256ccd7434 /util/nvmutil | |
| parent | 632c85ce1cbfc4b8c651c0bb258805fa657a747a (diff) | |
util/nvmutil: reset part_valid
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 28368f8d..e11cce7a 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -776,6 +776,9 @@ read_checksums(void) uint8_t num_invalid; uint8_t max_invalid; + part_valid[0] = 0; + part_valid[1] = 0; + if (!command[cmd_index].chksum_read) return; |
