This bit is used to keep the ARM Platform memory clocks enabled if
an interrupt is pending when entering low power mode. This bit should
always bet set when the CCM_CLPCR_LPM bits are set to 01(WAIT Mode) or
10 (STOP mode) without power gating.
Signed-off-by: Bai Ping <b51503@freescale.com>
(cherry picked from commit
0272868641041c5a9eb1b3476660711bb5cd69e4)
imx6ul_wfi_in_iram_fn = (void *)fncpy(wfi_iram_base + sizeof(*cpuidle_pm_info),
&imx6ul_low_power_idle, wfi_code_size);
#endif
+
+ imx6q_set_int_mem_clk_lpm(true);
+
return cpuidle_register(&imx6ul_cpuidle_driver, NULL);
}