SPM: Refine the output format of TF-M version

Add some macros to support TF-M version printed in decimal format.

Change-Id: I9f4195abd2ad9cb2eedcdf402ce17f5b4270d6b2
Signed-off-by: Shawn Shan <Shawn.Shan@arm.com>
diff --git a/secure_fw/spm/include/tfm_version.h b/secure_fw/spm/include/tfm_version.h
index 086a377..9924146 100644
--- a/secure_fw/spm/include/tfm_version.h
+++ b/secure_fw/spm/include/tfm_version.h
@@ -15,4 +15,11 @@
 #define VERSION_MINOR    1
 #define VERSION_STRING   ""
 
+#define VERSTR(x)      #x
+#define VERCON(major, minor) VERSTR(major)"."VERSTR(minor)
+
+#define VERSION_FULLSTR VERCON(VERSION_MAJOR, VERSION_MINOR)""VERSION_STRING
+
+
+
 #endif /* __TFM_VERSION_H__ */