From 7b2be88642aa2a4b19d2942cd5bbfaf24e0e3147 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Fri, 17 Jan 2020 09:51:27 +0800 Subject: plat: imx8m: Keep pu domains in default state during boot stage No need to keep all PU domains on as the full power domain driver support has been added. Signed-off-by: Jacky Bai --- plat/imx/imx8m/imx8mm/gpc.c | 3 --- plat/imx/imx8m/imx8mn/gpc.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/plat/imx/imx8m/imx8mm/gpc.c b/plat/imx/imx8m/imx8mm/gpc.c index 97b05efa..3051ce3a 100644 --- a/plat/imx/imx8m/imx8mm/gpc.c +++ b/plat/imx/imx8m/imx8mm/gpc.c @@ -393,7 +393,4 @@ void imx_gpc_init(void) */ mmio_clrbits_32(IMX_SRC_BASE + SRC_OTG1PHY_SCR, 0x1); mmio_clrbits_32(IMX_SRC_BASE + SRC_OTG2PHY_SCR, 0x1); - - /* enable all the power domain by default */ - mmio_write_32(IMX_GPC_BASE + PU_PGC_UP_TRG, 0x3fcf); } diff --git a/plat/imx/imx8m/imx8mn/gpc.c b/plat/imx/imx8m/imx8mn/gpc.c index 3e74708e..df921f4e 100644 --- a/plat/imx/imx8m/imx8mn/gpc.c +++ b/plat/imx/imx8m/imx8mn/gpc.c @@ -191,7 +191,4 @@ void imx_gpc_init(void) * only need to do it once. */ mmio_clrbits_32(IMX_SRC_BASE + SRC_OTG1PHY_SCR, 0x1); - - /* enable all the power domain by default */ - mmio_write_32(IMX_GPC_BASE + PU_PGC_UP_TRG, 0x485); } -- cgit v1.2.3