diff options
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) { |
