summaryrefslogtreecommitdiff
path: root/util/cbfstool/compress.c
diff options
context:
space:
mode:
authorSol Boucher <solb@chromium.org>2015-05-06 14:44:40 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-05-26 02:30:21 +0200
commit32532ac92dd83d08e5d10de2d3a41fe3c9092e2c (patch)
tree140f1fad91503353b1292951789a2909c3124ee4 /util/cbfstool/compress.c
parent83070504125a8023a24cb87c3f3184d3ad9b1d20 (diff)
cbfstool: Make update-fit action work on new-style images
Because new images place the bootblock in a separate region from the primary CBFS, performing an update-fit operation requires reading an additional section and choosing a different destination for the write based on the image type. Since other actions are not affected by these requirements, the logic for the optional read and all writing is implemented in the cbfs_update_fit() function itself, rather than relying on the main() function for writing as the other actions do. Change-Id: I2024c59715120ecc3b9b158e007ebce75acff023 Signed-off-by: Sol Boucher <solb@chromium.org> Reviewed-on: http://review.coreboot.org/10137 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/cbfstool/compress.c')
0 files changed, 0 insertions, 0 deletions