mbox series

[v5,0/3] rockpi4: Add capsule update support

Message ID 20221110091917.3966430-1-sughosh.ganu@linaro.org
Headers show
Series rockpi4: Add capsule update support | expand

Message

Sughosh Ganu Nov. 10, 2022, 9:19 a.m. UTC
Add capsule update support for the RockPi4B and RockPi4C
boards. Support is being added for updating the idbloader.img and
u-boot.itb firmware images on configurations with the firmware images
stored on GPT partitioned uSD card device.

Changes since V5:
* Get the pointer to struct efi_fw_image through struct
  efi_capsule_update_info
* Mark fw_images array as a static variable
* Populate num_image_type_guids through ROCKPI4_UPDATABLE_IMAGES

Sughosh Ganu (3):
  rockchip: capsule: Add functions for supporting capsule updates
  rockpi4: board: Add firmware image information for capsule updates
  rockpi4: capsule: Enable UEFI capsule update on RockPi4 boards

 arch/arm/include/asm/arch-rockchip/misc.h |   1 +
 arch/arm/mach-rockchip/Kconfig            |   1 +
 arch/arm/mach-rockchip/board.c            | 153 ++++++++++++++++++++++
 board/rockchip/evb_rk3399/evb-rk3399.c    |  55 +++++++-
 configs/rock-pi-4-rk3399_defconfig        |   8 ++
 configs/rock-pi-4c-rk3399_defconfig       |   8 ++
 include/configs/rk3399_common.h           |  16 +++
 7 files changed, 241 insertions(+), 1 deletion(-)