summaryrefslogtreecommitdiffstats
path: root/include/tee/optee.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tee/optee.h')
-rw-r--r--include/tee/optee.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/tee/optee.h b/include/tee/optee.h
index 8cfe06d889..9fb27fcec0 100644
--- a/include/tee/optee.h
+++ b/include/tee/optee.h
@@ -10,6 +10,9 @@
#ifndef _OPTEE_H
#define _OPTEE_H
+#include <types.h>
+#include <asm-generic/errno.h>
+
#define OPTEE_MAGIC 0x4554504f
#define OPTEE_VERSION 1
#define OPTEE_ARCH_ARM32 0
@@ -27,4 +30,6 @@ struct optee_header {
uint32_t paged_size;
};
+int optee_verify_header (struct optee_header *hdr);
+
#endif /* _OPTEE_H */