diff options
author | Bai Ping <ping.bai@nxp.com> | 2018-08-02 16:07:37 +0800 |
---|---|---|
committer | Bai Ping <ping.bai@nxp.com> | 2018-08-02 16:07:37 +0800 |
commit | 4f9398bda8c43df6db3297fd8413bb5c4bac179e (patch) | |
tree | 94570a272239e1dc875db9edf52ac2302ca4d980 | |
parent | 5b026e05b8f71b3d86da0953c5ca196d5ba5cc66 (diff) |
plat: imx8mm: enable noc power down support
enable NOC power down in DSM mode.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
-rw-r--r-- | plat/imx/imx8mm/gpc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plat/imx/imx8mm/gpc.c b/plat/imx/imx8mm/gpc.c index d11acee3..539055e4 100644 --- a/plat/imx/imx8mm/gpc.c +++ b/plat/imx/imx8mm/gpc.c @@ -548,9 +548,9 @@ void noc_wrapper_pre_suspend(unsigned int proc_num) mmio_write_32(IMX_GPC_BASE + MST_CPU_MAPPING, val); /* noc can only be power down when all the pu domain is off */ -// if (!pu_domain_status) -// /* enable noc power down */ -// imx_noc_slot_config(true); + if (!pu_domain_status) + /* enable noc power down */ + imx_noc_slot_config(true); /* * gic redistributor context save must be called when * the GIC CPU interface is disabled and before distributor save. @@ -573,9 +573,9 @@ void noc_wrapper_post_resume(unsigned int proc_num) mmio_write_32(IMX_GPC_BASE + MST_CPU_MAPPING, val); /* noc can only be power down when all the pu domain is off */ -// if (!pu_domain_status) -// /* disable noc power down */ -// imx_noc_slot_config(false); + if (!pu_domain_status) + /* disable noc power down */ + imx_noc_slot_config(false); /* restore gic context */ plat_gic_restore(proc_num, &imx_gicv3_ctx); |