summaryrefslogtreecommitdiff
path: root/resources/coreboot/gru_bob/config
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 /resources/coreboot/gru_bob/config
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 'resources/coreboot/gru_bob/config')
0 files changed, 0 insertions, 0 deletions