summaryrefslogtreecommitdiff
path: root/blobs/t440p/gbe.bin
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-04-05 23:55:04 +0100
committerLeah Rowe <leah@libreboot.org>2023-04-06 00:42:14 +0100
commit0d98d738708c64c59dcc06553cb1abebf6606e4a (patch)
tree4647da13cacc5effd05592415d83459bf90d2565 /blobs/t440p/gbe.bin
parentb0fa54ac41e6d3078b9d967fca923764433b9f91 (diff)
util/nvmutil: serious re-factoring (speed boost!)
word/setWord no longer mitigates endianness. instead, all bytes are swapped after reading and before writing the file, and only if the host is big endian this improves performance on little endian hosts, which is most machines, and the code is much simpler, so it's more robust and less likely to break mac address endianness made more clear in code, including with a comment that explains it (the nvm section contains little endian words, *except* the mac address whose words are stored big endian)
Diffstat (limited to 'blobs/t440p/gbe.bin')
0 files changed, 0 insertions, 0 deletions