summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-08 05:19:28 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-08 13:32:13 +0000
commit5517f81cbeedc230869dbb858da87084c8bd7110 (patch)
tree795ba7ea3804b4e4ab120210c7c189c25945d8c9
parentbe7c9658456c1e71141ee3643222abbd66788811 (diff)
util/nvmutil: commented some defines
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 2ae325e9..06681f8e 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -150,8 +150,18 @@ static const char *mac_str;
static const char *fname;
static const char *argv0;
+/*
+ * Use these for .invert in command[]:
+ */
#define PART_INVERT 1
+ /* if used: read GbE parts swapped */
+ /* e.g. part0 read (file) to part1 (mem) */
#define NO_INVERT 0
+ /* don't swap. e.g. part0 read (file) to part0 (mem) */
+
+/*
+ * Use these for .argc in command[]:
+ */
#define ARGC_3 3
#define ARGC_4 4