mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-25 06:19:56 +00:00
fix(sc7280): update pwr_domain_suspend
Change-Id: I0ee6598e9a9a01aea49e05307c68bde9993debba Signed-off-by: Wing Li <wingers@google.com>
This commit is contained in:
parent
f51d277de3
commit
a43be0f610
1 changed files with 0 additions and 13 deletions
|
@ -191,18 +191,6 @@ static void qti_node_power_off(const psci_power_state_t *target_state)
|
|||
}
|
||||
}
|
||||
|
||||
#if PSCI_OS_INIT_MODE
|
||||
static int qti_node_suspend(const psci_power_state_t *target_state)
|
||||
{
|
||||
qtiseclib_psci_node_suspend((const uint8_t *)target_state->
|
||||
pwr_domain_state);
|
||||
if (is_cpu_off(target_state)) {
|
||||
plat_qti_gic_cpuif_disable();
|
||||
qti_set_cpupwrctlr_val();
|
||||
}
|
||||
return PSCI_E_SUCCESS;
|
||||
}
|
||||
#else
|
||||
static void qti_node_suspend(const psci_power_state_t *target_state)
|
||||
{
|
||||
qtiseclib_psci_node_suspend((const uint8_t *)target_state->
|
||||
|
@ -212,7 +200,6 @@ static void qti_node_suspend(const psci_power_state_t *target_state)
|
|||
qti_set_cpupwrctlr_val();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static void qti_node_suspend_finish(const psci_power_state_t *target_state)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue