aarch64: create an SPMC boot flow
Create an SPMC boot flow and skip initialization of a primary VM
in the secure world (SPMC). The PVM initialization remains in the
normal world (Hypervisor). Secure Partitions share same properties
as secondary VMs in the NWd.
Change-Id: Ic9d0c407ae1413eaecd4427b02bcb15d02374e02
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
diff --git a/src/manifest.c b/src/manifest.c
index ab61b12..0425f68 100644
--- a/src/manifest.c
+++ b/src/manifest.c
@@ -810,7 +810,7 @@
}
}
- if (!found_primary_vm) {
+ if (!found_primary_vm && vm_id_is_current_world(HF_PRIMARY_VM_ID)) {
return MANIFEST_ERROR_NO_PRIMARY_VM;
}