From 4f9398bda8c43df6db3297fd8413bb5c4bac179e Mon Sep 17 00:00:00 2001 From: Bai Ping Date: Thu, 2 Aug 2018 16:07:37 +0800 Subject: plat: imx8mm: enable noc power down support enable NOC power down in DSM mode. Signed-off-by: Bai Ping --- plat/imx/imx8mm/gpc.c | 12 ++++++------ 1 file 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); -- cgit v1.2.3