diff options
author | Malte Schmidt <malte.schmidt@weidmueller.com> | 2023-06-16 10:28:05 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-07-09 10:32:28 +0200 |
commit | e05a4b12a056fd7fe22e85715c8f5e5e811fb551 (patch) | |
tree | b135c40c9827552f5444f444c7c92e5cf2db8b64 | |
parent | fefb7e1e3d515590aa5bb906f9ceaecfa06be608 (diff) | |
download | u-boot-e05a4b12a056fd7fe22e85715c8f5e5e811fb551.tar.gz |
mkeficapsule: fix efi_firmware_management_capsule_header data type
The data type of item_offset_list shall be UINT64 according to the UEFI [1]
specifications.
In include/efi_api.h the correct data type is used. The bug was probably
never noticed because of little endianness.
[1] https://uefi.org/specs/UEFI/2.10/index.html
Signed-off-by: Malte Schmidt <malte.schmidt@weidmueller.com>
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
-rw-r--r-- | tools/eficapsule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eficapsule.h b/tools/eficapsule.h index 072a4b5598b..6ffed6cc59c 100644 --- a/tools/eficapsule.h +++ b/tools/eficapsule.h @@ -63,7 +63,7 @@ struct efi_firmware_management_capsule_header { uint32_t version; uint16_t embedded_driver_count; uint16_t payload_item_count; - uint32_t item_offset_list[]; + uint64_t item_offset_list[]; } __packed; /* image_capsule_support */ |