[coreboot] nrv2b cleanup patch

Myles Watson mylesgw at gmail.com
Thu Mar 13 22:14:00 CET 2008

This patch changes do_nrv2b_compress to act like do_lzma_compress.  In other
words, it now allocates and frees its own memory.  This saves lar from having
to know about worst case compression to avoid memory corruption.

Tested by building coreboot with nrv2b as default, then copying to an lzma lar,
then copying back to an nrv2b lar.  No differences.


Signed-off-by: Myles Watson <mylesgw at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nrv2b.diff
Type: text/x-patch
Size: 730 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080313/8397133f/attachment.diff>

More information about the coreboot mailing list