summaryrefslogtreecommitdiffstats
path: root/util/cbfstool/common.h
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@coreboot.org>2024-02-17 21:09:13 +0100
committerPatrick Georgi <patrick@coreboot.org>2024-02-18 21:36:08 +0000
commit7691e96ab12a0f95efa89c0aed54996f82c689cb (patch)
treefdc076530b644c8280c04fb18666195535c08fd9 /util/cbfstool/common.h
parent6270e74025fd2f28ecc4976ad7f0f828b2eb8ab7 (diff)
downloadcoreboot-7691e96ab12a0f95efa89c0aed54996f82c689cb.tar.gz
coreboot-7691e96ab12a0f95efa89c0aed54996f82c689cb.tar.bz2
coreboot-7691e96ab12a0f95efa89c0aed54996f82c689cb.zip
cbfstool: Support 64bit addresses for flat images
SELF has the fields wired up for 64bit, but adding flat images cuts the upper half. Change-Id: I3b48b8face921e942fb0e01eace791ad3e1669a0 Signed-off-by: Patrick Georgi <patrick@coreboot.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80576 Reviewed-by: ron minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/cbfstool/common.h')
-rw-r--r--util/cbfstool/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cbfstool/common.h b/util/cbfstool/common.h
index d39f8fbfbd3e..498aae69c259 100644
--- a/util/cbfstool/common.h
+++ b/util/cbfstool/common.h
@@ -178,8 +178,8 @@ int parse_bzImage_to_payload(const struct buffer *input,
char *cmdline, enum cbfs_compression algo);
int parse_flat_binary_to_payload(const struct buffer *input,
struct buffer *output,
- uint32_t loadaddress,
- uint32_t entrypoint,
+ uint64_t loadaddress,
+ uint64_t entrypoint,
enum cbfs_compression algo);
/* cbfs-mkstage.c */
int parse_elf_to_stage(const struct buffer *input, struct buffer *output,