Julius Werner uploaded patch set #6 to this change.

View Change

cbfstool: Use cbfs_serialized.h and standard vboot helpers

This patch reduces some code duplication in cbfstool by switching it to
use the CBFS data structure definitions in commonlib rather than its own
private copy. In addition, replace a few custom helpers related to hash
algorithms with the official vboot APIs of the same purpose.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I22eae1bcd76d85fff17749617cfe4f1de55603f4
---
M src/commonlib/bsd/cbfs_mcache.c
M src/commonlib/bsd/cbfs_private.c
M src/commonlib/bsd/include/commonlib/bsd/cbfs_private.h
M src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h
M src/commonlib/cbfs.c
M src/mainboard/facebook/fbg1701/board_mboot.h
M util/cbfstool/Makefile.inc
M util/cbfstool/cbfs-mkpayload.c
M util/cbfstool/cbfs-mkstage.c
M util/cbfstool/cbfs-payload-linux.c
M util/cbfstool/cbfs.h
M util/cbfstool/cbfs_image.c
M util/cbfstool/cbfs_image.h
M util/cbfstool/cbfscomptool.c
M util/cbfstool/cbfstool.c
M util/cbfstool/common.h
M util/cbfstool/compress.c
17 files changed, 204 insertions(+), 413 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/41117/6

To view, visit change 41117. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I22eae1bcd76d85fff17749617cfe4f1de55603f4
Gerrit-Change-Number: 41117
Gerrit-PatchSet: 6
Gerrit-Owner: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Aaron Durbin <adurbin@chromium.org>
Gerrit-Reviewer: Frans Hendriks <fhendriks@eltan.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Wim Vervoorn <wvervoorn@eltan.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset