From 55f006318a35990d7d19a796e9af4c5f351b389a Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 19 Mar 2026 16:02:15 +0000 Subject: tidy some comments Signed-off-by: Leah Rowe --- util/nvmutil/lib/word.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'util/nvmutil/lib/word.c') 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 * - * 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 @@ -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) { -- cgit v1.2.1