summaryrefslogtreecommitdiff
path: root/lib/power_management/suspend/tftf_suspend.c
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2014-10-21 15:23:57 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2014-10-23 16:21:18 +0100
commit4697b951fca8739b301909fe1591dedf35f1e599 (patch)
treec023fa20d278bb5514e4902ce08530ed898c8b87 /lib/power_management/suspend/tftf_suspend.c
parent3cf6f6816a4576c41d9e494566652c558d06672e (diff)
Prefix SMC functions IDs constants by 'SMC_'
The idea is to easily recognise SMC functions IDs constants and other SMC-related constants like specific bits of SMC arguments. Also rename VERSION SMC calls into REVISION to be aligned with the terms used in the SMCCC. Change-Id: I2c05c49b567db28d871a69565afa4ef226bea596
Diffstat (limited to 'lib/power_management/suspend/tftf_suspend.c')
-rw-r--r--lib/power_management/suspend/tftf_suspend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/power_management/suspend/tftf_suspend.c b/lib/power_management/suspend/tftf_suspend.c
index 8853451..17f57ee 100644
--- a/lib/power_management/suspend/tftf_suspend.c
+++ b/lib/power_management/suspend/tftf_suspend.c
@@ -25,7 +25,7 @@ unsigned int tftf_enter_suspend(uint32_t power_state,
tftf_cpu_suspend_ctx_t *ctx)
{
smc64_args args = {
- PSCI_CPU_SUSPEND_AARCH64,
+ SMC_PSCI_CPU_SUSPEND_AARCH64,
power_state,
(uint64_t)__tftf_cpu_resume_ep,
(uint64_t)ctx