X-Git-Url: https://repo.jachan.dev/J-u-boot.git/blobdiff_plain/1cc8cc4e675e32cde76487292c8bace5fa927eee..a94b2aad05d52cbd49012ccd900bcbcf29f9bc22:/include/tee.h diff --git a/include/tee.h b/include/tee.h index 98b1c9cc693..99367b258e2 100644 --- a/include/tee.h +++ b/include/tee.h @@ -6,6 +6,9 @@ #ifndef __TEE_H #define __TEE_H +#include +#include + #define TEE_UUID_LEN 16 #define TEE_GEN_CAP_GP BIT(0) /* GlobalPlatform compliant TEE */ @@ -34,6 +37,7 @@ * struct tee_version_data::gen_caps */ #define TEE_SUCCESS 0x00000000 +#define TEE_ERROR_STORAGE_NOT_AVAILABLE 0xf0100003 #define TEE_ERROR_GENERIC 0xffff0000 #define TEE_ERROR_BAD_PARAMETERS 0xffff0006 #define TEE_ERROR_ITEM_NOT_FOUND 0xffff0008 @@ -42,7 +46,9 @@ #define TEE_ERROR_COMMUNICATION 0xffff000e #define TEE_ERROR_SECURITY 0xffff000f #define TEE_ERROR_OUT_OF_MEMORY 0xffff000c +#define TEE_ERROR_OVERFLOW 0xffff300f #define TEE_ERROR_TARGET_DEAD 0xffff3024 +#define TEE_ERROR_STORAGE_NO_SPACE 0xffff3041 #define TEE_ORIGIN_COMMS 0x00000002 #define TEE_ORIGIN_TEE 0x00000003