aboutsummaryrefslogtreecommitdiff
path: root/board/sandbox/sandbox.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-06-08 11:19:27 -0400
committerTom Rini <trini@konsulko.com>2023-06-08 11:19:27 -0400
commit3aa4fb12f4abd31bce7fe6294dd47fd0966a791a (patch)
tree822ad0a8d6e6405df9c444f49ad7c57ecbf7a732 /board/sandbox/sandbox.c
parentac6096fe9c4d99f1dc37db95f213e08a48b11e70 (diff)
parentb6f954e5b09545d18a150e4a4431a648e41ff287 (diff)
Merge tag 'efi-next-20230608' of https://source.denx.de/u-boot/custodians/u-boot-efi into next
Pull request efi-next-20230608 UEFI: * Support for firmware versions in capsule updates
Diffstat (limited to 'board/sandbox/sandbox.c')
-rw-r--r--board/sandbox/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sandbox/sandbox.c b/board/sandbox/sandbox.c
index 2e44bdf0df..c7b6cb78ff 100644
--- a/board/sandbox/sandbox.c
+++ b/board/sandbox/sandbox.c
@@ -67,10 +67,10 @@ struct efi_fw_image fw_images[] = {
struct efi_capsule_update_info update_info = {
.dfu_string = "sf 0:0=u-boot-bin raw 0x100000 0x50000;"
"u-boot-env raw 0x150000 0x200000",
+ .num_images = ARRAY_SIZE(fw_images),
.images = fw_images,
};
-u8 num_image_type_guids = ARRAY_SIZE(fw_images);
#endif /* EFI_HAVE_CAPSULE_SUPPORT */
#if !CONFIG_IS_ENABLED(OF_PLATDATA)