diff options
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 5341337a85..e1a3272ca9 100644 --- a/util/cbfstool/cbfs-mkpayload.c +++ b/util/cbfstool/cbfs-mkpayload.c @@ -359,7 +359,7 @@ int parse_fv_to_payload(const struct buffer *input, struct buffer *output, loadaddress = ph->image_addr - dh_offset; entrypoint = ph->image_addr + ph->entry_point; - } else if (ch->machine == MACHINE_TYPE_X64) { + } else if (ch->machine == MACHINE_TYPE_X64 || ch->machine == MACHINE_TYPE_ARM64) { pe_opt_header_64_t *ph; ph = (pe_opt_header_64_t *)&ch[1]; if (ph->signature != PE_HDR_64_MAGIC) { @@ -372,7 +372,7 @@ int parse_fv_to_payload(const struct buffer *input, struct buffer *output, loadaddress = ph->image_addr - dh_offset; entrypoint = ph->image_addr + ph->entry_point; } else { - ERROR("Machine type not x86 or x64.\n"); + ERROR("Machine type not x86, x64, or arm64.\n"); return -1; } |