Attention is currently required from: Furquan Shaikh. Hello build bot (Jenkins), Patrick Georgi, Furquan Shaikh, Aaron Durbin,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/47823
to look at the new patch set (#6).
Change subject: cbfstool: Move alignment/baseaddress handling into cbfs_add_component() ......................................................................
cbfstool: Move alignment/baseaddress handling into cbfs_add_component()
The --alignment flag is currently only handled by cbfstool add, but there seems little reason to not handle it for all file-adding commands (the help text actually mentions it for add-stage as well but it doesn't currently work there). This patch moves the related code (and the related baseaddress handling) into cbfs_add_component(). As a nice side effect this allows us to rearrange cbfs_add_component() such that we can conclusively determine whether we need a hash attribute before trying to align the file, allowing that code to correctly infer the final header size even when a hash attribute was implicitly added (for an image built with CBFS verification enabled).
Signed-off-by: Julius Werner jwerner@chromium.org Change-Id: Idc6d68b2c7f30e5d136433adb3aec5a87053f992 --- M util/cbfstool/cbfstool.c 1 file changed, 37 insertions(+), 47 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/47823/6