mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00

Add a helper function to pass the metadata structure to the platforms. Platforms can then read the metadata structure and pass the boot index value, i.e. the bank(partition) from which the firmware images were booted, to the Update Agent. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I571179b9baa0fbc4d0f08d7a6e3b50c0c7165c5c
16 lines
287 B
C
16 lines
287 B
C
/*
|
|
* Copyright (c) 2021, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef FWU_H
|
|
#define FWU_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
void fwu_init(void);
|
|
bool fwu_is_trial_run_state(void);
|
|
const struct fwu_metadata *fwu_get_metadata(void);
|
|
|
|
#endif /* FWU_H */
|