summaryrefslogtreecommitdiff
path: root/lib/power_management/suspend/tftf_suspend.c
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2016-07-13 17:59:46 +0100
committerSoby Mathew <soby.mathew@arm.com>2016-09-26 14:44:56 +0100
commit7536a0026de009e53cdf6637dfd1d59fab0dd74d (patch)
tree88fefbe0291bc6b51be1d438aa061c8f056fcff8 /lib/power_management/suspend/tftf_suspend.c
parent3dba8936dbf4745bc08475096bdb93be82a8e61d (diff)
AArch32: Rework the suspend framework
This patch adds AArch32 support for the suspend framework. The `asm_tftf_suspend.S` which was AArch64 specific is now moved in the `aarch64` folder. Also the suspend test case for AFFLVL3 is now modified to skip in AArch32 build because it is not a valid affinity level for AArch32. Change-Id: I74aa0034f3a7785b996606f523b09bb92c35bfd1
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 e111968..55a2e57 100644
--- a/lib/power_management/suspend/tftf_suspend.c
+++ b/lib/power_management/suspend/tftf_suspend.c
@@ -57,7 +57,7 @@ int32_t tftf_enter_suspend(const suspend_info_t *info,
/*
* Flush the context that must be retrieved with MMU off
*/
- flush_dcache_range((uint64_t)ctx, sizeof(*ctx));
+ flush_dcache_range((u_register_t)ctx, sizeof(*ctx));
if (info->psci_api == SMC_PSCI_CPU_SUSPEND_AARCH64)
rc = tftf_smc(&cpu_suspend_args);