diff options
author | Patrick Georgi <patrick@coreboot.org> | 2024-02-17 21:09:13 +0100 |
---|---|---|
committer | Patrick Georgi <patrick@coreboot.org> | 2024-02-18 21:36:08 +0000 |
commit | 7691e96ab12a0f95efa89c0aed54996f82c689cb (patch) | |
tree | fdc076530b644c8280c04fb18666195535c08fd9 /util/cbfstool/cbfs-mkpayload.c | |
parent | 6270e74025fd2f28ecc4976ad7f0f828b2eb8ab7 (diff) |
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/cbfs-mkpayload.c')
-rw-r--r-- | util/cbfstool/cbfs-mkpayload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cbfstool/cbfs-mkpayload.c b/util/cbfstool/cbfs-mkpayload.c index 63c81a325d..e9bcfbaceb 100644 --- a/util/cbfstool/cbfs-mkpayload.c +++ b/util/cbfstool/cbfs-mkpayload.c @@ -230,8 +230,8 @@ out: 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) { comp_func_ptr compress; |