summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2017-11-03 18:31:55 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:28:59 +0800
commit284c25bbd70acd81da229c622fa890b1f13bcd3e (patch)
tree49dc3e7e0a05604e9d136f279d11c75f890f31be /include/soc
parentcb54c607f0113b19526bfb0087b1f178872e977c (diff)
MLK-16760 soc: imx: support i.MX8MQ new revision SoC
On i.MX8MQ, the new revision SoC does NOT update the revision info in ANATOP_DIGPROG register, to support dynamic SOC id/revision detection, only reading info from ANATOP_DIGPROG is not working now, change to read SOC id/revision from ATF which is in secure world. The ATF will read the ANATOP_DIGPROG as well as ROM version to decide the SOC revision. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/imx/fsl_sip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/soc/imx/fsl_sip.h b/include/soc/imx/fsl_sip.h
index e4d02126e5f8..51d34629a75f 100644
--- a/include/soc/imx/fsl_sip.h
+++ b/include/soc/imx/fsl_sip.h
@@ -52,4 +52,7 @@
#define FSL_SIP_SRC 0xc2000005
#define FSL_SIP_SRC_M4_START 0x00
#define FSL_SIP_SRC_M4_STARTED 0x01
+
+#define FSL_SIP_GET_SOC_INFO 0xc2000006
+
#endif