aboutsummaryrefslogtreecommitdiff
path: root/common/avb_verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/avb_verify.c')
-rw-r--r--common/avb_verify.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/avb_verify.c b/common/avb_verify.c
index 32034d9..36898a6 100644
--- a/common/avb_verify.c
+++ b/common/avb_verify.c
@@ -851,6 +851,7 @@ static AvbIOResult get_size_of_partition(AvbOps *ops,
return AVB_IO_RESULT_OK;
}
+#ifdef CONFIG_OPTEE_TA_AVB
static AvbIOResult read_persistent_value(AvbOps *ops,
const char *name,
size_t buffer_size,
@@ -968,6 +969,8 @@ free_name:
return rc;
}
+#endif
+
/**
* ============================================================================
* AVB2.0 AvbOps alloc/initialisation/free