summaryrefslogtreecommitdiff
path: root/util/cbfstool/xdr.c
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2017-10-30 17:38:04 -0700
committerAaron Durbin <adurbin@chromium.org>2017-12-08 16:05:52 +0000
commitff906fb95bab0c4c24c2589fd0de3b1d1d0b2e24 (patch)
tree42206c9e0af2aedf7251838b2c2bef08295d8ea9 /util/cbfstool/xdr.c
parent9adcbfe486cb37ecbf38167ac13a502326f5863c (diff)
cbfstool: Add '-p' option for padding
This patch adds '-p' to the 'add' command. It allows the add command to specify the size of the padding added with the file being added. This is useful to reserve an extra space in case the file is too big to be relocated. BUG=b:68660966 BRANCH=none TEST=emerge-fizz coreboot && cbfstool image.bin add -n ecrw -f EC_RW.bin -p 0x10 ... Verify image.bin has extra space in the file header. Change-Id: I64bc54fd10a453b4da467bc69d9590e61b0f7ead Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://review.coreboot.org/22239 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'util/cbfstool/xdr.c')
0 files changed, 0 insertions, 0 deletions