From 0a9efa7fafe8d1cc6a36e813e53cced22ed7171e Mon Sep 17 00:00:00 2001 From: Ye Li Date: Tue, 12 Sep 2017 01:46:04 -0500 Subject: imx8qm/qxp: Add a new SIP to get commit id of arm trusted firmware Add a new SIP call FSL_SIP_BUILDINFO to return the current commit id in 7 hexadecimal digits which are parsed from the version_string. Signed-off-by: Ye Li --- plat/freescale/common/include/fsl_sip.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plat/freescale/common/include') diff --git a/plat/freescale/common/include/fsl_sip.h b/plat/freescale/common/include/fsl_sip.h index 3449944d..b8807381 100644 --- a/plat/freescale/common/include/fsl_sip.h +++ b/plat/freescale/common/include/fsl_sip.h @@ -27,4 +27,7 @@ #define FSL_SIP_SRTC 0xC2000002 #define FSL_SIP_SRTC_SET_TIME 0x00 +#define FSL_SIP_BUILDINFO 0xC2000003 +#define FSL_SIP_BUILDINFO_GET_COMMITHASH 0x00 + #endif -- cgit v1.2.3