
On Mon, Oct 3, 2022 at 6:04 AM AKASHI Takahiro takahiro.akashi@linaro.org wrote:
diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c index f5a5fe0121..a0db26eaf3 100644 --- a/board/socionext/developerbox/developerbox.c +++ b/board/socionext/developerbox/developerbox.c @@ -20,6 +20,13 @@
#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT) struct efi_fw_image fw_images[] = { +#if defined(CONFIG_FWU_MULTI_BANK_UPDATE)
{
.image_type_id = DEVELOPERBOX_FIP_IMAGE_GUID,
.fw_name = u"DEVELOPERBOX-FIP",
.image_index = 1,
},
+#else
From curiosity, why do you want to use different capsule formats for multi-bank update and normal case?
normal/legacy layout has one image for each component - uboot, tfa and optee, whereas the new layout contains everything in one fip image. So I thought it would be better to make the image_index consistent by making the fip's as 1.
cheers.