mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
board: rpi: Enable capsule updates
Since RPI works well using EFI and has no size limitations with regards to U-Boot, add the needed structures to support capsule updates. While at it update the most commonly used defconfigs and include capsule support and U-Boot commands needed by EFI Tested-by: Sughosh Ganu <sughosh.ganu@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
28a620d281
commit
6a5fc32fd2
5 changed files with 42 additions and 0 deletions
|
@ -68,6 +68,19 @@ struct msg_get_clock_rate {
|
|||
u32 end_tag;
|
||||
};
|
||||
|
||||
struct efi_fw_image fw_images[] = {
|
||||
{
|
||||
.fw_name = u"RPI_UBOOT",
|
||||
.image_index = 1,
|
||||
},
|
||||
};
|
||||
|
||||
struct efi_capsule_update_info update_info = {
|
||||
.dfu_string = "mmc 0=u-boot.bin fat 0 1",
|
||||
.num_images = ARRAY_SIZE(fw_images),
|
||||
.images = fw_images,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_ARM64
|
||||
#define DTB_DIR "broadcom/"
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue