diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2023-10-19 16:54:19 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-27 21:02:08 -0400 |
commit | 9727e3ab7aff88cb0c8115eb3231af7e25317d01 (patch) | |
tree | 709e56f5d3dc3bf03111c4ee4b6dc801405b9d86 /board | |
parent | b254975b1a3848afc0037854eefb4af5004316ba (diff) | |
download | u-boot-9727e3ab7aff88cb0c8115eb3231af7e25317d01.tar.gz u-boot-9727e3ab7aff88cb0c8115eb3231af7e25317d01.tar.bz2 u-boot-9727e3ab7aff88cb0c8115eb3231af7e25317d01.zip |
board: synquacer: Update the flash image layout
The SynQuacer Developerbox, in EFI mode, supports A/B capsule
updates and single image ones. The flash layout in the latter case is
outdated, update it with the new offsets and images
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-By: Masahisa Kojima <masahisa.kojima@linaro.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/socionext/developerbox/developerbox.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c index 9585944d80..ac4415ff3b 100644 --- a/board/socionext/developerbox/developerbox.c +++ b/board/socionext/developerbox/developerbox.c @@ -20,39 +20,18 @@ #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", - .image_index = 1, - }, - { - .image_type_id = DEVELOPERBOX_FIP_IMAGE_GUID, - .fw_name = u"DEVELOPERBOX-FIP", - .image_index = 2, - }, - { - .image_type_id = DEVELOPERBOX_OPTEE_IMAGE_GUID, - .fw_name = u"DEVELOPERBOX-OPTEE", - .image_index = 3, - }, -#endif }; struct efi_capsule_update_info update_info = { - .dfu_string = "mtd nor1=u-boot.bin raw 200000 100000;" - "fip.bin raw 180000 78000;" - "optee.bin raw 500000 100000", + .dfu_string = "mtd nor1=fip.bin raw 600000 400000", .num_images = ARRAY_SIZE(fw_images), .images = fw_images, }; - #endif /* EFI_HAVE_CAPSULE_SUPPORT */ static struct mm_region sc2a11_mem_map[] = { |