Differentiate Hypervisor and SPMC platform power management
Provide independent platform power management implementations
depending on whether building for the normal world Hypervisor
or the secure world SPMC. The Hypervisor relies on directly
calling EL3 PSCI services whereas SPMC relies on FF-A interfaces
and SPMD call-backs.
Change-Id: I89739b01f03c37077b6c95a9ae09d4d1bfc847fe
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
diff --git a/inc/hf/arch/plat/psci.h b/inc/hf/arch/plat/psci.h
index 9ea5c2d..d42cbc7 100644
--- a/inc/hf/arch/plat/psci.h
+++ b/inc/hf/arch/plat/psci.h
@@ -11,6 +11,16 @@
#include "hf/vcpu.h"
/**
+ * Returns the platform specific PSCI version value.
+ */
+uint32_t plat_psci_version_get(void);
+
+/**
+ * Called once at boot time to initialize the platform power management module.
+ */
+void plat_psci_init(void);
+
+/**
* Called before the PSCI_CPU_SUSPEND SMC is forwarded. The power state is
* provided to allow actions to be taken based on the implementation defined
* meaning of this field.