summaryrefslogtreecommitdiff
path: root/include/avb_verify.h
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2018-09-25 16:40:20 +0200
committerTom Rini <trini@konsulko.com>2018-10-07 11:07:25 -0400
commit6663e074780912b01c09afd0c139f29825f7775c (patch)
tree64579ee74bdf8bfb23ae2436b84058deda624789 /include/avb_verify.h
parenta6ab4245d1543e6e9fa7277389457e792a987b7f (diff)
avb_verify: support using OP-TEE TA AVB
With CONFIG_OPTEE_TA_AVB use the trusted application AVB provided by OP-TEE to manage rollback indexes and device-lock status. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'include/avb_verify.h')
-rw-r--r--include/avb_verify.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/avb_verify.h b/include/avb_verify.h
index eaa60f5393..a532a2331a 100644
--- a/include/avb_verify.h
+++ b/include/avb_verify.h
@@ -27,6 +27,10 @@ struct AvbOpsData {
struct AvbOps ops;
int mmc_dev;
enum avb_boot_state boot_state;
+#ifdef CONFIG_OPTEE_TA_AVB
+ struct udevice *tee;
+ u32 session;
+#endif
};
struct mmc_part {