util/nvmutil: comment regarding memcpy endianness

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-04 01:32:34 +00:00
parent ca98d418d5
commit 75ea8ab175
+7
View File
@@ -608,6 +608,13 @@ good_checksum(int partnum)
return 0;
}
/*
* NOTE: memcpy is a bit sticky with host endianness,
* but we currently use it only when swap has
* been handled. just be careful about when the
* swap() function is called.
*/
static uint16_t
word(int pos16, int p)
{