aboutsummaryrefslogtreecommitdiffstats
path: root/include/bl31
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2014-09-26 15:08:52 +0100
committerSoby Mathew <soby.mathew@arm.com>2015-01-23 15:14:36 +0000
commite146f4cc6c93ab5efe93f73c0dd53bce8c99555f (patch)
treeb7b05b5320052f0b05440950eb22e0bd38052ad5 /include/bl31
parenteadd7a1b1e1dc270bed8df3197ea6fe9f1286849 (diff)
downloadplatform_external_arm-trusted-firmware-e146f4cc6c93ab5efe93f73c0dd53bce8c99555f.tar.gz
platform_external_arm-trusted-firmware-e146f4cc6c93ab5efe93f73c0dd53bce8c99555f.tar.bz2
platform_external_arm-trusted-firmware-e146f4cc6c93ab5efe93f73c0dd53bce8c99555f.zip
Remove `ns_entrypoint` and `mpidr` from parameters in pm_ops
This patch removes the non-secure entry point information being passed to the platform pm_ops which is not needed. Also, it removes the `mpidr` parameter for platform pm hooks which are meant to do power management operations only on the current cpu. NOTE: PLATFORM PORTS MUST BE UPDATED AFTER MERGING THIS COMMIT. Change-Id: If632376a990b7f3b355f910e78771884bf6b12e7
Diffstat (limited to 'include/bl31')
-rw-r--r--include/bl31/services/psci.h28
1 files changed, 12 insertions, 16 deletions
diff --git a/include/bl31/services/psci.h b/include/bl31/services/psci.h
index dc6cc04c4..26b607c0c 100644
--- a/include/bl31/services/psci.h
+++ b/include/bl31/services/psci.h
@@ -161,22 +161,18 @@ typedef struct psci_cpu_data {
* perform common low level pm functions
******************************************************************************/
typedef struct plat_pm_ops {
- int (*affinst_standby)(unsigned int);
- int (*affinst_on)(unsigned long,
- unsigned long,
- unsigned long,
- unsigned int,
- unsigned int);
- int (*affinst_off)(unsigned long, unsigned int, unsigned int);
- int (*affinst_suspend)(unsigned long,
- unsigned long,
- unsigned long,
- unsigned int,
- unsigned int);
- int (*affinst_on_finish)(unsigned long, unsigned int, unsigned int);
- int (*affinst_suspend_finish)(unsigned long,
- unsigned int,
- unsigned int);
+ int (*affinst_standby)(unsigned int power_state);
+ int (*affinst_on)(unsigned long mpidr,
+ unsigned long sec_entrypoint,
+ unsigned int afflvl,
+ unsigned int state);
+ int (*affinst_off)(unsigned int afflvl, unsigned int state);
+ int (*affinst_suspend)(unsigned long sec_entrypoint,
+ unsigned int afflvl,
+ unsigned int state);
+ int (*affinst_on_finish)(unsigned int afflvl, unsigned int state);
+ int (*affinst_suspend_finish)(unsigned int afflvl,
+ unsigned int state);
void (*system_off)(void) __dead2;
void (*system_reset)(void) __dead2;
} plat_pm_ops_t;