cbfstool: start moving cbfs_file header creation up the call chain
commit62c014bcf3717cacb7ba0dd5e4c9cb1b6e425cd2
authorPatrick Georgi <patrick@georgi-clan.de>
Tue, 25 Aug 2015 10:55:33 +0000 (25 12:55 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 26 Aug 2015 12:20:24 +0000 (26 12:20 +0000)
tree07b952f8eb83d576335f4dfebb3e1edc30ec7c68
parent4eb8abeb8570f2dca688f4e2a22697c756404ab2
cbfstool: start moving cbfs_file header creation up the call chain

Up to now cbfstool creates the cbfs_file header at the latest possible
time, which is unsuitable when the idea is to add further fields to it
that need to be configured earlier.

Thus, have it ripple up the call chain.

Change-Id: I7c160681c31818bc550ed2098008146043d0ee01
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11320
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
util/cbfstool/cbfs_image.c