aboutsummaryrefslogtreecommitdiff
path: root/include
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
parenta6ab4245d1543e6e9fa7277389457e792a987b7f (diff)
downloadu-boot-6663e074780912b01c09afd0c139f29825f7775c.zip
u-boot-6663e074780912b01c09afd0c139f29825f7775c.tar.gz
u-boot-6663e074780912b01c09afd0c139f29825f7775c.tar.bz2
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')
-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 eaa60f5..a532a23 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 {