the following patch was just integrated into master: commit 59e52b975e3ffe29709f82e57849ccf8254b9cd1 Author: Patrick Georgi pgeorgi@chromium.org Date: Thu Sep 10 15:28:27 2015 +0200
cbfstool: add new add-master-header command
The command adds a new cbfs file, fills in the CBFS meta data in cbfs master header format, then points the master header pointer (which resides at the last 4 bytes of the CBFS region) to the data area of the new file.
This can leak some space in CBFS if an old-style CBFS with native master header gets the treatment, because a new header is created and pointed at. flashmap based images have no such header, and the attempt to create a second file with the (hardcoded) name will fail.
Change-Id: I5bc7fbcb5962b35a95261f30f0c93008e760680d Signed-off-by: Patrick Georgi pgeorgi@chromium.org Reviewed-on: http://review.coreboot.org/11628 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin adurbin@chromium.org
See http://review.coreboot.org/11628 for details.
-gerrit