summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-08-10 20:50:22 +0800
committerAnson Huang <Anson.Huang@nxp.com>2020-08-11 09:38:25 +0800
commite39a0c329049cc8e281adda98fa3071b4bdac87a (patch)
treeb1ec0ec21eb28abfdaf52386d0795437c857cffc
parentfbf6df2696fd540bc19303c1655d9dabef769e7f (diff)
MLK-24480 plat: imx8dxl: Enable CPU/FP/L2 retention counter
Enable CPU, FP, L2 retention counters to 64 cycles for i.MX8DXL. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Jacky Bai <ping.bai@nxp.com>
-rw-r--r--plat/imx/imx8dxl/platform.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/plat/imx/imx8dxl/platform.mk b/plat/imx/imx8dxl/platform.mk
index 25856dc1..55299f34 100644
--- a/plat/imx/imx8dxl/platform.mk
+++ b/plat/imx/imx8dxl/platform.mk
@@ -36,6 +36,10 @@ include plat/imx/common/sci/sci_api.mk
USE_COHERENT_MEM := 1
RESET_TO_BL31 := 1
+ENABLE_CPU_DYNAMIC_RETENTION := 1
+$(eval $(call add_define,ENABLE_CPU_DYNAMIC_RETENTION))
+ENABLE_L2_DYNAMIC_RETENTION := 1
+$(eval $(call add_define,ENABLE_L2_DYNAMIC_RETENTION))
BL32_BASE ?= 0x96000000
$(eval $(call add_define,BL32_BASE))