]> git.ipfire.org Git - thirdparty/u-boot.git/commit
tee: optee: Export OP-TEE message UID check API
authorSumit Garg <sumit.garg@oss.qualcomm.com>
Tue, 27 Jan 2026 06:23:39 +0000 (11:53 +0530)
committerCasey Connolly <casey.connolly@linaro.org>
Mon, 27 Apr 2026 10:38:44 +0000 (12:38 +0200)
commit3eefe12b4b45fa5eb431246ec6ca55728aa79616
tree9e5ecdc87f0c1f3083d5c04e369078184144e0c4
parent63c806ba0e1236fea500f5d8b5486196d7c20806
tee: optee: Export OP-TEE message UID check API

OP-TEE message UID check API can be useful to know whether OP-TEE
is enabled on not assuming the corresponding SMC call is properly
handled if OP-TEE is not supported.

This API can be used by platform code to know OP-TEE presence and
on that basis OP-TEE DT node can be added as part of DT fixups for
the OP-TEE driver probe to happen for both U-Boot and Linux.

Signed-off-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
Link: https://patch.msgid.link/20260127062341.723966-2-sumit.garg@kernel.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/tee/optee/core.c
include/tee/optee.h