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>
This commit is contained in:
Arthur Heymans
2021-06-22 15:21:46 +02:00
parent d9b714dada
commit 5bb7dc4e05
3 changed files with 4 additions and 4 deletions

View File

@@ -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);