summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-06 21:08:47 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-06 21:08:47 +0000
commit3aa30c50394b0f7f7cdd2f8bd27e6a66d4470de0 (patch)
tree067590499a74a5b04d2e7e046793af9f0dc618ca /util
parent040eee4607d083ee7a1a340ab62e4b36fe2e1e72 (diff)
util/nvmutil: tidy up read_gbe
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/nvmutil/nvmutil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index f39cd65f..19b02b05 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -373,7 +373,9 @@ read_gbe(void)
*
* We can skip reading the other part, thus:
*/
- if (cmd == cmd_copy || cmd == cmd_brick || cmd == cmd_setchecksum)
+ if (cmd == cmd_copy ||
+ cmd == cmd_brick ||
+ cmd == cmd_setchecksum)
do_read[part ^ 1] = 0;
/*