mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 18:14:24 +00:00
feat(morello): add TF-A version string to NT_FW_CONFIG
TF-A version string is passed into NT_FW_CONFIG to allow access in UEFI. Signed-off-by: Werner Lewis <werner.lewis@arm.com> Change-Id: I9da7b93d30c9d9230ea9a2cd2730cde897ffc580
This commit is contained in:
parent
10fd85d8f4
commit
f4e64d1f5e
2 changed files with 7 additions and 0 deletions
|
@ -36,5 +36,6 @@
|
|||
#endif
|
||||
scp-fw-version = <0x0>;
|
||||
scp-fw-commit = <0x0>;
|
||||
tfa-fw-version = "unknown-dirty_00000000";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -41,6 +41,7 @@ static inline uint64_t get_mem_client_mode(uint64_t size)
|
|||
*#endif
|
||||
* scp-fw-version = <0x0>;
|
||||
* scp-fw-commit = <0x0>;
|
||||
* tfa-fw-version = "unknown-dirty_00000000";
|
||||
* };
|
||||
******************************************************************************/
|
||||
static int plat_morello_append_config_node(struct morello_plat_info *plat_info,
|
||||
|
@ -140,6 +141,11 @@ static int plat_morello_append_config_node(struct morello_plat_info *plat_info,
|
|||
return -1;
|
||||
}
|
||||
|
||||
err = fdt_setprop_string(fdt, nodeoffset_fw, "tfa-fw-version", version_string);
|
||||
if (err < 0) {
|
||||
WARN("NT_FW_CONFIG: Unable to set tfa-fw-version\n");
|
||||
}
|
||||
|
||||
err = fdt_setprop_u64(fdt, nodeoffset_plat, "local-ddr-size",
|
||||
usable_mem_size);
|
||||
if (err < 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue