summaryrefslogtreecommitdiff
path: root/plat/imx/imx8qm/include/platform_def.h
diff options
context:
space:
mode:
authorTeo Hall <teo.hall@nxp.com>2018-11-27 14:50:50 -0600
committerTeo Hall <teo.hall@nxp.com>2018-11-28 08:17:31 -0600
commitd6451cc1e162eff89b03dd63e86d55b9baa8885b (patch)
tree0ce285a0f4d8f30ec7a114fd20ccce93d31ce0a1 /plat/imx/imx8qm/include/platform_def.h
parentcaa6f51d585bc98e40d872942204a2b1767412c7 (diff)
plat: imx8qm/imx8qxp: Add MU flag check for partition rebootimx_4.14.78_1.0.0_ga
Test if a partition reboot has taken place with the MU interrupt bit. Check before returning the entrypoint Signed-off-by: Teo Hall <teo.hall@nxp.com> (cherry picked from commit 627396daa5d9b62e8a0fb118844d1507b94e23f5)
Diffstat (limited to 'plat/imx/imx8qm/include/platform_def.h')
-rw-r--r--plat/imx/imx8qm/include/platform_def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plat/imx/imx8qm/include/platform_def.h b/plat/imx/imx8qm/include/platform_def.h
index 6add4716..720b2a58 100644
--- a/plat/imx/imx8qm/include/platform_def.h
+++ b/plat/imx/imx8qm/include/platform_def.h
@@ -28,6 +28,11 @@
#define PLAT_MAX_OFF_STATE 2
#define PLAT_MAX_RET_STATE 1
+#define PLAT_MU_SR_OFF 0x20
+#define PLAT_MU_COLD_BOOT_FLG_MSK 0x40000000
+#define PLAT_BOOT_MU_BASE 0x5D1B0000
+
+
#define BL31_BASE 0x80000000
#define BL31_LIMIT 0x80020000