diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-06-22 15:21:46 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2021-07-01 15:22:08 +0000 |
commit | 5bb7dc4e050b79390037a931681c6fbce639a052 (patch) | |
tree | 8496931259ff639dfa971fc35c93dbed1362531c /util/cbfstool/cbfstool.c | |
parent | d9b714dada4aafb1cb9d9ed9bda828c9749a6cd8 (diff) |
cbfstool/cbfs-mkstage.c: Change signature of parse_elf_to_xip_stage()
The dereferced parameter is never updated so passing a copy would work
too.
Change-Id: Ie36f64f55d4fc7034780116c28aaed65aa304d5e
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55792
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/cbfstool/cbfstool.c')
-rw-r--r-- | util/cbfstool/cbfstool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c index 6133536b4b..48c9387b8f 100644 --- a/util/cbfstool/cbfstool.c +++ b/util/cbfstool/cbfstool.c @@ -1131,7 +1131,7 @@ static int cbfstool_convert_mkstage(struct buffer *buffer, uint32_t *offset, **/ *offset = convert_addr_space(param.image_region, *offset); - ret = parse_elf_to_xip_stage(buffer, &output, offset, + ret = parse_elf_to_xip_stage(buffer, &output, *offset, param.ignore_section, stageheader); } else { |