Commit 4fe0f4be authored by Soren Brinkmann's avatar Soren Brinkmann
Browse files

zynqmp: Initialize GIC on suspend_finish


Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
parent b516b7dc
...@@ -242,6 +242,13 @@ static void zynqmp_pwr_domain_suspend_finish(const psci_power_state_t *target_st ...@@ -242,6 +242,13 @@ static void zynqmp_pwr_domain_suspend_finish(const psci_power_state_t *target_st
/* enable coherency */ /* enable coherency */
plat_arm_interconnect_enter_coherency(); plat_arm_interconnect_enter_coherency();
/* APU was turned off */
if (target_state->pwr_domain_state[1] > PLAT_MAX_RET_STATE) {
plat_arm_gic_init();
} else {
gicv2_cpuif_enable();
gicv2_pcpu_distif_init();
}
} }
/******************************************************************************* /*******************************************************************************
......
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