From f683b0a998ac870a1972591356842e6e5c458bf6 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Fri, 25 Sep 2020 10:36:49 +0800 Subject: MLK-24914-02 plat: imx8mp: Remove the wait mode workaround used on A0 The i.MX8MP A0 silicon will not be supported anymore, remove the wait mode workaround to make the cpuidle support more robust & simplify the code logic. Signed-off-by: Jacky Bai Reviewed-by: Jian Li --- plat/imx/imx8m/ddr/dram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plat/imx/imx8m/ddr/dram.c') diff --git a/plat/imx/imx8m/ddr/dram.c b/plat/imx/imx8m/ddr/dram.c index 333fbaba..ee642961 100644 --- a/plat/imx/imx8m/ddr/dram.c +++ b/plat/imx/imx8m/ddr/dram.c @@ -294,7 +294,7 @@ int dram_dvfs_handler(uint32_t smc_fid, void *handle, for (int i = 0; i < PLATFORM_CORE_COUNT; i++) if (cpu_id != i && (online_cores & (0x1 << (i * 8)))) plat_ic_raise_el3_sgi(0x8, i); -#if defined(PLAT_imx8mq) || defined(PLAT_imx8mp) +#if defined(PLAT_imx8mq) for (int i = 0; i < 4; i++) { if (i != cpu_id && online_cores & (1 << (i * 8))) imx_gpc_core_wake(1 << i); -- cgit v1.2.3