summaryrefslogtreecommitdiff
path: root/util/cbfstool/common.h
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2021-06-22 15:21:46 +0200
committerArthur Heymans <arthur@aheymans.xyz>2021-07-01 15:22:08 +0000
commit5bb7dc4e050b79390037a931681c6fbce639a052 (patch)
tree8496931259ff639dfa971fc35c93dbed1362531c /util/cbfstool/common.h
parentd9b714dada4aafb1cb9d9ed9bda828c9749a6cd8 (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/common.h')
-rw-r--r--util/cbfstool/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/common.h b/util/cbfstool/common.h
index 479fd713dd..1c25a66a68 100644
--- a/util/cbfstool/common.h
+++ b/util/cbfstool/common.h
@@ -178,7 +178,7 @@ int parse_elf_to_stage(const struct buffer *input, struct buffer *output,
struct cbfs_file_attr_stageheader *stageheader);
/* location is TOP aligned. */
int parse_elf_to_xip_stage(const struct buffer *input, struct buffer *output,
- uint32_t *location, const char *ignore_section,
+ uint32_t location, const char *ignore_section,
struct cbfs_file_attr_stageheader *stageheader);
void print_supported_architectures(void);