diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2015-09-10 15:28:27 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-09-21 16:03:48 +0000 |
commit | 59e52b975e3ffe29709f82e57849ccf8254b9cd1 (patch) | |
tree | 97d07360c5d1a51f54a9e2c7c8afdc35dbb2926b /util/cbfstool/fmd.h | |
parent | a9992d3da5d28dc9f8423fe17497231f894fa9d9 (diff) |
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>
Diffstat (limited to 'util/cbfstool/fmd.h')
0 files changed, 0 insertions, 0 deletions