[coreboot] cbfstool extract

Myles Watson mylesgw at gmail.com
Mon Apr 20 22:36:19 CEST 2009

On Mon, Apr 20, 2009 at 1:20 PM, Myles Watson <mylesgw at gmail.com> wrote:
> This patch adds
> cbfstool extract [FILE] [NAME]
> It also factors out the csize calculation in rom_add.
> As a side note cbfstool delete is broken.  It only works correctly
> when you are not deleting the last entry.

This patch fixes that too.  It checks to see if there is a next entry.
 If not it calculates the size of the entry you are deleting and uses
that for the copy and memset parameters.

Signed-off-by: Myles Watson <mylesgw at gmail.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: delete.diff
Type: text/x-patch
Size: 6508 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090420/bc9dc346/attachment.diff>

More information about the coreboot mailing list