Commit 155d01ff authored by Marcin Wojtas's avatar Marcin Wojtas Committed by Konstantin Porotchkin
Browse files

marvell: pm: do not panic by default in cpu_standby



Current default behavior of cpu_standby callback
is problematic during the SBSA test, which is
unable to run due to EL3 panic. Make it dependent on
the PM firmware running.

Change-Id: I7a53de8c880bd23b157dd65ce14bb48b5a5c76c8
Signed-off-by: default avatarMarcin Wojtas <mw@semihalf.com>
Reviewed-by: default avatarGrzegorz Jaszczyk <jaz@semihalf.com>
Reviewed-by: default avatarKostya Porotchkin <kostap@marvell.com>
parent 3c0024cc
...@@ -379,8 +379,10 @@ static int a8k_validate_power_state(unsigned int power_state, ...@@ -379,8 +379,10 @@ static int a8k_validate_power_state(unsigned int power_state,
*/ */
static void a8k_cpu_standby(plat_local_state_t cpu_state) static void a8k_cpu_standby(plat_local_state_t cpu_state)
{ {
if (!is_pm_fw_running()) {
ERROR("%s: needs to be implemented\n", __func__); ERROR("%s: needs to be implemented\n", __func__);
panic(); panic();
}
} }
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment