coreboot-kgpe-d16/util
Daisuke Nojiri ff906fb95b 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>
2017-12-08 16:05:52 +00:00
..
abuild
acpi
amdfwtool
amdtools
archive
arm_boot_tools/mksunxiboot
autoport
bimgtool
blobtool
board_status
broadcom
cbfstool
cbmem
checklist
chromeos
crossgcc
docker
dtd_parser
ectool
exynos
futility
fuzz-tests
genbuild_h
genprof
gitconfig
hugo
ifdfake
ifdtool
intelmetool
inteltool
intelvbttool
ipqheader
k8resdump
kbc1126
kconfig
lint
marvell
me_cleaner
mma
msrtool
mtkheader
nvidia
nvramtool
optionlist
post
release
riscvtools
rockchip
romcc
sconfig
scripts
showdevicetree
spkmodem_recv
superiotool
testing
uio_usbdebug
vgabios
viatool
xcompile