From c6a3b2479299fc8261fa65b60fa5172d7f7887c7 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Thu, 26 Mar 2020 15:24:03 +0800 Subject: plat: imx8mp: imx8mp wait mode workaround Add the i.MX8MP workaround for wait mode just for Alpha release, this patch will be dropped in the future. Signed-off-by: Jacky Bai --- 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 7dbaabfe..f785d2a0 100644 --- a/plat/imx/imx8m/ddr/dram.c +++ b/plat/imx/imx8m/ddr/dram.c @@ -252,7 +252,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) +#if defined(PLAT_imx8mq) || defined(PLAT_imx8mp) 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