summaryrefslogtreecommitdiff
path: root/plat/imx/imx8mq
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2017-09-02 00:54:06 +0800
committerAbel Vesa <abel.vesa@nxp.com>2018-06-11 10:08:39 +0300
commita9795cd37bcece4cc4b559e4fa0a5f4af088a8c1 (patch)
treec4860e0f6760b847112031ce5e596bf918536293 /plat/imx/imx8mq
parent1843930630b879969c5e6a214b5c8c777ca18332 (diff)
imx8mq: gpc: correct ARM power down request register offset
The GPC_CPU_PGC_SW_PDN_REQ offset should be 0xfc, previous offset is incorrect, so actually ARM core is NOT powered down and the power leakage is very high. With this fix, each ARM core's leakage is about 25mA@0.9V. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'plat/imx/imx8mq')
-rw-r--r--plat/imx/imx8mq/gpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/imx/imx8mq/gpc.c b/plat/imx/imx8mq/gpc.c
index d636334b..c2608463 100644
--- a/plat/imx/imx8mq/gpc.c
+++ b/plat/imx/imx8mq/gpc.c
@@ -94,7 +94,7 @@
#define SLPCR_A53_FASTWUP_WAIT (1 << 16)
#define GPC_CPU_PGC_SW_PUP_REQ 0xf0
-#define GPC_CPU_PGC_SW_PDN_REQ 0xf4
+#define GPC_CPU_PGC_SW_PDN_REQ 0xfc
#define BM_CPU_PGC_SW_PDN_PUP_REQ 0x1
#define GPC_ARM_PGC 0x800