diff options
author | Leah Rowe <leah@libreboot.org> | 2025-01-26 07:25:26 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-01-26 07:25:26 +0000 |
commit | 98e105ac4f186428bc9df238507c64b5f51ff12a (patch) | |
tree | 53b38dc3bde25d73046a479d9573fa551dc81650 /util/nvmutil/README.md | |
parent | 52e8ea57f7b1cef262939696e8012835dc4f7e59 (diff) |
util/nvmutil: allocate less memory for setchecksum
also cmd_brick
where the checksum is being corrected or bricked, we
only need to handle the 128-byte nvm area on one of
the parts
similarly, we only need to allocate half the gbe file
size when doing a copy command.
256 bytes still allocated for setmac (see previous
commit), because we verify both checksums and set both
parts if possible.
with this, nvmutil is now much more memory-efficient.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/README.md')
0 files changed, 0 insertions, 0 deletions