summaryrefslogtreecommitdiff
path: root/framework/include/tftf.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/include/tftf.h')
-rw-r--r--framework/include/tftf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/framework/include/tftf.h b/framework/include/tftf.h
index 44c6c02..3e0c1e9 100644
--- a/framework/include/tftf.h
+++ b/framework/include/tftf.h
@@ -156,6 +156,15 @@ uint8_t tftf_get_cpu_id_from_gic_id(uint8_t gic_id);
int tftf_systimer_setup(void);
/*
+ * This function detects the power state format used by PSCI which can
+ * be either extended or original format. For the Original format,
+ * the State-ID can either be NULL or can be using the recommended encoding.
+ * This function needs to be invoked once during cold boot prior to the
+ * invocation of any PSCI power state helper functions.
+ */
+void tftf_detect_psci_pstate_format(void);
+
+/*
* Run the next test on the calling CPU.
* Once the test is complete, if the calling CPU is the last one to exit the
* test then do the necessary bookkeeping, report the overall test result and