trusty: Get version string from trusty
authorArve Hjønnevåg <arve@android.com>
Fri, 10 Oct 2014 04:24:17 +0000 (21:24 -0700)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 2 Dec 2016 18:32:39 +0000 (10:32 -0800)
commitaa35e12b9c67fd62547789478ac51a83e9c6b746
tree32857fe37c2ae85e166247f713914206ef95e2f7
parent04df39db81eea066669d840c66cb3927d8b81eb9
trusty: Get version string from trusty

Print trusty version to kernel log on startup, and export it in sysfs.

Bug 1818826

Change-Id: Ibb503a9385a223b590b882578fdd6332fc750a8d
Signed-off-by: Arve Hjønnevåg <arve@android.com>
(cherry picked from commit af1ac76fcfaa06395a13afd27edfc4f29dd52e7d from https://android.googlesource.com/kernel/common/+/android-trusty-3.10)
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-on: http://git-master/r/1255172
(cherry picked from commit c6243e7378298cf471a0e3345427e67426b02803 in dev-kernel-3.10)
Reviewed-on: http://git-master/r/1257354
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/trusty/trusty.c
include/linux/trusty/smcall.h