summaryrefslogtreecommitdiffstats
path: root/include/linux/trusty
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2014-10-10 00:24:17 -0400
committerStephen Wolfe <swolfe@nvidia.com>2018-07-27 17:12:44 -0400
commit30a030a9aff56a16e6bf4fee0ec31af7472955dd (patch)
tree00f989ff66674425092fe8258e432dd27a87bb2d /include/linux/trusty
parentdde4d4cf917e3ebec415a728c4d3a422c4c630b4 (diff)
trusty: Get version string from trusty
Print trusty version to kernel log on startup, and export it in sysfs. Change-Id: Ibb503a9385a223b590b882578fdd6332fc750a8d Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'include/linux/trusty')
-rw-r--r--include/linux/trusty/smcall.h1
-rw-r--r--include/linux/trusty/trusty.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/trusty/smcall.h b/include/linux/trusty/smcall.h
index 278a4b256..4344683f6 100644
--- a/include/linux/trusty/smcall.h
+++ b/include/linux/trusty/smcall.h
@@ -71,5 +71,6 @@
71#define SMC_FC_CPU_RESUME SMC_FASTCALL_NR (SMC_ENTITY_SECURE_MONITOR, 8) 71#define SMC_FC_CPU_RESUME SMC_FASTCALL_NR (SMC_ENTITY_SECURE_MONITOR, 8)
72 72
73#define SMC_FC_AARCH_SWITCH SMC_FASTCALL_NR (SMC_ENTITY_SECURE_MONITOR, 9) 73#define SMC_FC_AARCH_SWITCH SMC_FASTCALL_NR (SMC_ENTITY_SECURE_MONITOR, 9)
74#define SMC_FC_GET_VERSION_STR SMC_FASTCALL_NR (SMC_ENTITY_SECURE_MONITOR, 10)
74 75
75#endif /* __LINUX_TRUSTY_SMCALL_H */ 76#endif /* __LINUX_TRUSTY_SMCALL_H */
diff --git a/include/linux/trusty/trusty.h b/include/linux/trusty/trusty.h
index ce00c1d46..abb77f1db 100644
--- a/include/linux/trusty/trusty.h
+++ b/include/linux/trusty/trusty.h
@@ -52,5 +52,5 @@ int trusty_call_notifier_register(struct device *dev,
52 struct notifier_block *n); 52 struct notifier_block *n);
53int trusty_call_notifier_unregister(struct device *dev, 53int trusty_call_notifier_unregister(struct device *dev,
54 struct notifier_block *n); 54 struct notifier_block *n);
55 55const char *trusty_version_str_get(struct device *dev);
56#endif 56#endif