diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/power_management/suspend/tftf_suspend.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/power_management/suspend/tftf_suspend.c b/lib/power_management/suspend/tftf_suspend.c index 75c2ade06..d6c989afe 100644 --- a/lib/power_management/suspend/tftf_suspend.c +++ b/lib/power_management/suspend/tftf_suspend.c @@ -6,6 +6,7 @@ #include <arch_helpers.h> #include <arm_gic.h> +#include <console.h> #include <debug.h> #include <platform.h> #include <power_management.h> @@ -51,6 +52,9 @@ int32_t tftf_enter_suspend(const suspend_info_t *info, */ flush_dcache_range((u_register_t)ctx, sizeof(*ctx)); + /* Make sure any outstanding message is printed. */ + console_flush(); + if (info->psci_api == SMC_PSCI_CPU_SUSPEND) rc = tftf_smc(&cpu_suspend_args); else |