the following patch was just integrated into master: commit 056f6a1f80952d91e0aa41d379ae9f08032595cf Author: Patrick Georgi patrick@georgi-clan.de Date: Tue Aug 25 15:53:52 2015 +0200
cbfstool: pass cbfs_file header into "compress" functions
These functions can do all kinds of things, such as converting an ELF image into SELF, or (in the future) compress or checksum entire files. This may require changing or adding fields to the header, so they need to have access to it.
The header_size parameter that was provided (but never used) is equivalent to cbfs_file's offset field.
Change-Id: I7c10ab15f3dff4412461103e9763a1d78b7be7bb Signed-off-by: Patrick Georgi patrick@georgi-clan.de Reviewed-on: http://review.coreboot.org/11325 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin adurbin@chromium.org
See http://review.coreboot.org/11325 for details.
-gerrit