summaryrefslogtreecommitdiff
path: root/include/fwu.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-05-13 07:53:21 -0600
committerTom Rini <[email protected]>2026-05-13 07:54:10 -0600
commit944427c3da6591f7971f48d91d69b60cbff3db12 (patch)
treec0166af53ee938843a09d5179c46ba08367bee79 /include/fwu.h
parent36d4c653580824b16574560b21d4401614d8b68e (diff)
parent612256838acec75407b1a268459c3a9dbb63c7f9 (diff)
Merge tag 'u-boot-stm32-20260512' of https://source.denx.de/u-boot/custodians/u-boot-stm
CI: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/30081 - reset: stm32: Fix compilation error - Remove remaining non-existant STM32_RESET flag - configs: stm32mp13: Add SPI-NAND UBI boot support - Support metadata-driven A/B boot for STM32MP25
Diffstat (limited to 'include/fwu.h')
-rw-r--r--include/fwu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/fwu.h b/include/fwu.h
index 9cee8fb085c..68a51fb4296 100644
--- a/include/fwu.h
+++ b/include/fwu.h
@@ -397,6 +397,17 @@ void fwu_populate_mdata_image_info(struct fwu_data *data);
int fwu_get_mdata_size(uint32_t *mdata_size);
/**
+ * fwu_mdata_get_image_guid() - Get image GUID for a type and bank
+ * @image_guid: Pointer to be filled with the found image GUID
+ * @image_type_guid: Pointer to the image type GUID to search for
+ * @bank_index: Index of the bank
+ *
+ * Return: 0 if OK, -ve on error
+ */
+int fwu_mdata_get_image_guid(efi_guid_t *image_guid,
+ const efi_guid_t *image_type_guid, u32 bank_index);
+
+/**
* fwu_state_machine_updates() - Update FWU state of the platform
* @state: FWU bank state
* @update_index: Bank number to which images have been updated