summaryrefslogtreecommitdiff
path: root/lib/power_management
diff options
context:
space:
mode:
Diffstat (limited to 'lib/power_management')
-rw-r--r--lib/power_management/suspend/tftf_suspend.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/power_management/suspend/tftf_suspend.c b/lib/power_management/suspend/tftf_suspend.c
index 9b08448..c9be10a 100644
--- a/lib/power_management/suspend/tftf_suspend.c
+++ b/lib/power_management/suspend/tftf_suspend.c
@@ -117,7 +117,12 @@ int tftf_suspend(const suspend_info_t *info)
/* Save the local GIC context */
arm_gic_save_context_local();
+#if PLAT == warp7
+ /* Add this ugly workaround because warp7 does not support it yet */
+ rc = PSCI_E_SUCCESS;
+#else
rc = __tftf_suspend(info);
+#endif
/* Restore the local GIC context */
arm_gic_restore_context_local();