feat(ff-a): save partitions version during ffa_version
This will be useful later when we may need to consider the version
of a partition when structuring a response to certain FF-A functions.
Also add a call to FFA_VERSION during initialization of the hypervisor
so the SPMC knows the hypervisors implemented version.
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Change-Id: Ia8f5f8a9589300311a1e129536acce0948d5a6bc
diff --git a/src/init.c b/src/init.c
index db05ad9..ab8d8a4 100644
--- a/src/init.c
+++ b/src/init.c
@@ -174,7 +174,7 @@
/* Enable TLB invalidation for VM page table updates. */
mm_vm_enable_invalidation();
- /* Set up message buffers for TEE dispatcher. */
+ /* Perform platform specfic FF-A initialization. */
plat_ffa_init(manifest.ffa_tee_enabled);
dlog_info("Hafnium initialisation completed\n");