diff options
author | Jacky Bai <ping.bai@nxp.com> | 2020-09-25 10:36:49 +0800 |
---|---|---|
committer | Jacky Bai <ping.bai@nxp.com> | 2020-10-23 18:04:53 +0800 |
commit | f683b0a998ac870a1972591356842e6e5c458bf6 (patch) | |
tree | 6c208ecb418278a869b3e6845f8e799dd5faf19b /plat/imx/imx8m/ddr/dram.c | |
parent | d7d1788db782a7c960bddbf9d4cb442b0488d37b (diff) |
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 <ping.bai@nxp.com>
Reviewed-by: Jian Li <jian.li@nxp.com>
Diffstat (limited to 'plat/imx/imx8m/ddr/dram.c')
-rw-r--r-- | plat/imx/imx8m/ddr/dram.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |