Commit 160e4141 authored by Jacky Bai's avatar Jacky Bai

plat: imx8mn: Keep PLAT(SCU) domain on in wait mode temporarily

As the system is not stable when SCU power down is enabled in
WAIT mode, so just disbale it at present. Will enable it again
when finding out the root cause.
Signed-off-by: default avatarJacky Bai <ping.bai@nxp.com>
parent 61bfded5
......@@ -391,13 +391,16 @@ void imx_set_cluster_powerdown(int last_core, uint8_t power_state)
/* L2 cache memory is on in WAIT mode */
if (is_local_state_off(power_state))
val |= (L2PGE | EN_PLAT_PDN);
#if 0
else
val |= EN_PLAT_PDN;
#endif
mmio_write_32(IMX_GPC_BASE + LPCR_A53_AD, val);
/* config SLOT for PLAT power up/down */
imx_a53_plat_slot_config(true);
if (is_local_state_off(power_state))
imx_a53_plat_slot_config(true);
} else {
/* clear the slot and ack for cluster power down */
imx_a53_plat_slot_config(false);
......
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