summaryrefslogtreecommitdiff
path: root/plat/imx/imx8m/ddr/dram.c
diff options
context:
space:
mode:
authorJacky Bai <ping.bai@nxp.com>2020-03-26 15:24:03 +0800
committerJacky Bai <ping.bai@nxp.com>2020-03-27 20:52:50 +0800
commitc6a3b2479299fc8261fa65b60fa5172d7f7887c7 (patch)
treea5f4ea9160887e3ce49c0ac920b8361f1696ec63 /plat/imx/imx8m/ddr/dram.c
parent6b8249ff58cc8853396498a074535dcd7f81beaf (diff)
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 <ping.bai@nxp.com>
Diffstat (limited to 'plat/imx/imx8m/ddr/dram.c')
-rw-r--r--plat/imx/imx8m/ddr/dram.c2
1 files changed, 1 insertions, 1 deletions
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);