diff options
| author | Jassi Brar <[email protected]> | 2023-05-31 00:29:56 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-06-09 13:52:40 -0400 |
| commit | 6b403ca4dcf4c68e2792c4e8b28e03b3cfe5db45 (patch) | |
| tree | d33be321509ad093ea3bf8f9488ebb62fab9f2fa /board/socionext/developerbox/developerbox.c | |
| parent | 87f397e58e40278f23c96196103f427bffb3a0c7 (diff) | |
fwu: DeveloperBox: add support for FWU
Add code to support FWU_MULTI_BANK_UPDATE.
The platform does not have gpt-partition storage for
Banks and MetaData, rather it used SPI-NOR backed
mtd regions for the purpose.
Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'board/socionext/developerbox/developerbox.c')
| -rw-r--r-- | board/socionext/developerbox/developerbox.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c index d92e1d09627..204e5a41a5b 100644 --- a/board/socionext/developerbox/developerbox.c +++ b/board/socionext/developerbox/developerbox.c @@ -20,6 +20,13 @@ #if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) struct efi_fw_image fw_images[] = { +#if CONFIG_IS_ENABLED(FWU_MULTI_BANK_UPDATE) + { + .image_type_id = DEVELOPERBOX_FIP_IMAGE_GUID, + .fw_name = u"DEVELOPERBOX-FIP", + .image_index = 1, + }, +#else { .image_type_id = DEVELOPERBOX_UBOOT_IMAGE_GUID, .fw_name = u"DEVELOPERBOX-UBOOT", @@ -35,6 +42,7 @@ struct efi_fw_image fw_images[] = { .fw_name = u"DEVELOPERBOX-OPTEE", .image_index = 3, }, +#endif }; struct efi_capsule_update_info update_info = { |
