summaryrefslogtreecommitdiff
path: root/include/tee
diff options
context:
space:
mode:
Diffstat (limited to 'include/tee')
-rw-r--r--include/tee/optee.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/tee/optee.h b/include/tee/optee.h
index 77729450bb6..d1194493780 100644
--- a/include/tee/optee.h
+++ b/include/tee/optee.h
@@ -65,4 +65,13 @@ static inline int optee_copy_fdt_nodes(void *new_blob)
}
#endif
+#if defined(CONFIG_OPTEE)
+bool is_optee_smc_api(void);
+#else
+static inline bool is_optee_smc_api(void)
+{
+ return false;
+}
+#endif
+
#endif /* _OPTEE_H */