diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-19 16:02:15 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-19 16:02:15 +0000 |
| commit | 55f006318a35990d7d19a796e9af4c5f351b389a (patch) | |
| tree | 3a3cc47a97a52b9bbd534821ac1b67c7d08e0bc8 /util/nvmutil/lib/word.c | |
| parent | 7ad924a91f6800de4fdd89dbc390d6c46d78a861 (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) { |
