diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-19 16:02:15 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:59:42 +0000 |
| commit | 0e105e8135666caacc007f54db9d1324224fddbd (patch) | |
| tree | 7ebd6ef0f29dd27bd921b6499f70226f86bf93c0 /util/nvmutil/lib/word.c | |
| parent | 1c210e38570ff3597498d175ee6f500cbd1e4333 (diff) | |
tidy some comments
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/lib/word.c')
| -rw-r--r-- | util/nvmutil/lib/word.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/util/nvmutil/lib/word.c b/util/nvmutil/lib/word.c index 6fd5974c..5d9220c7 100644 --- a/util/nvmutil/lib/word.c +++ b/util/nvmutil/lib/word.c @@ -1,9 +1,8 @@ /* SPDX-License-Identifier: MIT - * * Copyright (c) 2022-2026 Leah Rowe <leah@libreboot.org> * - * Manipulate sixteen-bit little-endian - * words on Intel GbE NVM configurations. + * Manipulate Intel GbE NVM words, which are 16-bit little + * endian in the files (MAC address words are big endian). */ #include <sys/types.h> @@ -13,13 +12,6 @@ #include "../include/common.h" -/* - * GbE NVM files store 16-bit (2-byte) little-endian words. - * We must therefore swap the order when reading or writing. - * - * NOTE: The MAC address words are stored big-endian in-file. - */ - unsigned short nvm_word(unsigned long pos16, unsigned long p) { |
