summaryrefslogtreecommitdiff
path: root/plat/imx/imx8m/imx8mq/include/platform_def.h
diff options
context:
space:
mode:
authorJacky Bai <ping.bai@nxp.com>2019-03-06 16:58:18 +0800
committerJacky Bai <ping.bai@nxp.com>2019-03-12 21:21:03 +0800
commite8837b0aef0cadbe2428af4ee0ec3d2e84387386 (patch)
treefd38908b48056e579117f31ccf20b2a79580be76 /plat/imx/imx8m/imx8mq/include/platform_def.h
parentf009c5f312476cdfc0704a3c8a9c66b7fe5b6586 (diff)
plat: imx8m: refactor the code to make it reusable
for the i.MX8M SOCs, part of the code for gpc and PSCI implementation can be reused and make it common for all these SoCs. this patch extracts the common part for reuse. Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Diffstat (limited to 'plat/imx/imx8m/imx8mq/include/platform_def.h')
-rw-r--r--plat/imx/imx8m/imx8mq/include/platform_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/imx/imx8m/imx8mq/include/platform_def.h b/plat/imx/imx8m/imx8mq/include/platform_def.h
index 5c5b0a5f..b54201ed 100644
--- a/plat/imx/imx8m/imx8mq/include/platform_def.h
+++ b/plat/imx/imx8m/imx8mq/include/platform_def.h
@@ -26,6 +26,7 @@
#define PLAT_MAX_OFF_STATE U(4)
#define PLAT_MAX_RET_STATE U(1)
+#define PLAT_WAIT_RET_STATE PLAT_MAX_RET_STATE
#define PLAT_WAIT_OFF_STATE U(2)
#define PLAT_STOP_OFF_STATE U(3)