mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 18:41:22 +00:00
feat(fwu): pass a const metadata structure to platform routines
The metadata structure copy is passed to the platform routine to set the image source to boot the platform from. This is done by reading the metadata structure. Pass the metadata as a read-only copy to the routine -- the routine only needs to consume the metadata values and should not be able to update the metadata fields. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I399cad99ab89c71483e5a32a1de0e22df304f8b0
This commit is contained in:
parent
e1157ecdc4
commit
6aaf257de4
3 changed files with 3 additions and 3 deletions
|
@ -889,7 +889,7 @@ Function : plat_fwu_set_images_source() [when PSA_FWU_SUPPORT == 1]
|
|||
|
||||
::
|
||||
|
||||
Argument : struct fwu_metadata *metadata
|
||||
Argument : const struct fwu_metadata *metadata
|
||||
Return : void
|
||||
|
||||
This function is mandatory when PSA_FWU_SUPPORT is enabled.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue